Skip to content

Commit

Permalink
draw labels on top and remove Z parameter, fix #92
Browse files Browse the repository at this point in the history
  • Loading branch information
geraldo authored and GeoSander committed May 14, 2024
1 parent 7db611a commit 0e1d6a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bridgestyle/mapboxgl/fromgeostyler.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ def convert(geostyler, options=None):
_warnings = []
layers = processLayer(geostyler)
layers.sort(key=lambda l: l["Z"])
[l.pop('Z', None) for l in layers]
layers.sort(key=lambda l: l["type"]=="symbol")
obj = {
"version": 8,
"glyphs": "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",
Expand Down

0 comments on commit 0e1d6a6

Please sign in to comment.