protomaps / protomaps-leaflet

Lightweight vector map rendering + labeling and symbology for Leaflet
https://protomaps.com/docs/frontends/leaflet
BSD 3-Clause "New" or "Revised" License
766 stars 43 forks source link

protomap V4 support? #177

Open zafrirron opened 3 days ago

zafrirron commented 3 days ago
  1. Downloaded 20241109.pmtiles (4.0.3) from protomaps.com for offline Leaflet map use,

    • Leaflet shows map without details
  2. Checked Leaflet with remote map using API url at: https://api.protomaps.com/tiles/v4/{z}/{x}/{y}.mvt?key=MY_KEY

    • shows the same.
    1. Leaflet with remote map using API url at: https://api.protomaps.com/tiles/v3/{z}/{x}/{y}.mvt?key=MY_KEY
      • works ok
  3. Downloaded 20240812.pmtiles (3.7.1) from protomaps.com

    • works ok
bdon commented 2 days ago

The current version of this library only works with tileset version 3, it hasn't been updated to v4 yet.