This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing 2 changed files with 77 additions and 1 deletion.