jperelli / osm-static-maps

Openstreetmap static maps is a nodejs lib, CLI and server open source inspired on google static map service
http://osm-static-maps.herokuapp.com/
GNU General Public License v2.0
160 stars 52 forks source link

Trying to understand how to configure a Vector Tile Layer with the Style.json #47

Closed techmavengeospatial closed 4 months ago

techmavengeospatial commented 4 months ago

are PBF/MVT Vector Tile Sources with stylesheets (JSON) supported?

jperelli commented 4 months ago

Hi @techmavengeospatial!

Yes, you need to set the url to a style.json using the -m or vectorserverUrl parameter

It uses this library https://github.com/mapbox/mapbox-gl-leaflet