Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix conversion of max zoom level from mapbox styles
The QGIS renderers for vector tiles treat maxzoom different to the MapBox Style Specifications. From the MapBox Specifications: "The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden." However the QGIS styles will be hidden if the zoom level is GREATER THAN (not equal to) maxzoom. Accordingly we need to subtract 1 from the maxzoom value when converting mapbox styles
- Loading branch information
1 parent
b2bb25a
commit b3bd102
Showing
2 changed files
with
77 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters