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
767 stars 43 forks source link

protomap V4 support? #177

Open zafrirron opened 2 weeks ago

zafrirron commented 2 weeks 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 weeks ago

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