New answers tagged

1

You can use rule based rendering for this. Every rule has minimum and maximum scale attributes and will only be visible within these bounds. For your case, make 2 rules: Filter: visibility >= 5, Min scale: 1:25000, Max scale: empty Filter: visibility >= 6, Min scale: 1:10000, Max scale: empty This way you can even give the features different ...


0

In general properties of the layer there is a Scale dependent visibility. I think you would need to set that manually for each layer. If you want to render different features of the same layer at different scales then you can just add copies of the layer with different filters and scale visibility settings. You can use pyqgis to automate this based on the ...


0

The description for the range parameter in the CMAPI map.view.zoom message was updated on May 9, 2016 to read: The distance in meters from the map. For a 2D map this may be translated to the closest zoom level. For a 3D map it should be interpreted as the camera's distance in meters from the center of the map - which is essentially the camera's ...


0

Spent quite some time testing, and as usual, the solution is fairly simple once you know how Leaflet wants to work. The solution is to specify a custom CRS with a custom transform function. This s where you can specify what each map unit/pixel represents, and this is what is used by Leaflet internally for all distance calculations and - well - transforms :) ...



Top 50 recent answers are included