mapbox / mapbox-gl-leaflet

binding from Mapbox GL JS to the Leaflet API
ISC License
522 stars 154 forks source link

Broken cluster example #161

Open edent opened 2 months ago

edent commented 2 months ago

The cluster example at https://rawgit.com/mapbox/mapbox-gl-leaflet/master/examples/cluster.html doesn't work.

It is caused by this line:

https://github.com/mapbox/mapbox-gl-leaflet/blob/df9c10ccf4fe92238f97ea0d64d8366ec709d5d3/examples/cluster.html#L22

Are you happy for a PR to replace that with https://unpkg.com/leaflet.markercluster@1.0.0/example/realworld.388.js ?

jgravois commented 2 months ago

that'd be helpful. thanks.