protomaps-leaflet icon indicating copy to clipboard operation
protomaps-leaflet copied to clipboard

protomaps-leaflet/examples/

Open vitoborneo opened this issue 1 year ago • 5 comments

Some examples return blank pages. I tried leaflet.html multi_source.html sandwich.html sprites.html

vitoborneo avatar Apr 23 '24 09:04 vitoborneo

These return blank for you?

https://protomaps.github.io/protomaps-leaflet/examples/leaflet.html https://protomaps.github.io/protomaps-leaflet/examples/multi_source.html https://protomaps.github.io/protomaps-leaflet/examples/sandwich.html https://protomaps.github.io/protomaps-leaflet/examples/sprites.html

Are you replacing the API key with one designated for your domain?

bdon avatar Apr 25 '24 02:04 bdon

Ok, now it works. I found example pages of locally loaded vector PMTiles files working with protomaps.min.js version 2.0.1. Now with protomaps-leaflet.min.js these pages doesn't works. Where can I find a demo of a vector file PMTiles and protomaps-leaflet.min.js? Thank you

vitoborneo avatar Apr 28 '24 13:04 vitoborneo

Can you provide an example of the non-working code?

bdon avatar Apr 29 '24 03:04 bdon

https://bertt.wordpress.com/2023/01/06/creating-vector-pmtiles-with-tippecanoe/ live demo see https://bertt.github.io/opendata/world/railroads Thanks

vitoborneo avatar Apr 29 '24 06:04 vitoborneo

Opened PR: https://github.com/bertt/opendata/pull/1

bdon avatar May 02 '24 05:05 bdon