ynunokawa / L.esri.WebMap

A leaflet plugin to display ArcGIS Web Map.
MIT License
22 stars 21 forks source link

esri leaflet live sample breaks when updated to 0.4.0 #71

Closed jgravois closed 7 years ago

jgravois commented 7 years ago

http://esri.github.io/esri-leaflet/examples/webmap.html?id=22c504d229f14c789c5b49ebff38b941

bumped cdn on the sample above to 0.4.0

Uncaught TypeError: L.esri.webMap is not a function(…)

ynunokawa commented 7 years ago

@jgravois Thx for letting me know!

it requires leaflet-omnivore to parse CSV in 0.4.0. would you add the cdn url below and try it again?

<!-- Load Leaflet Omnivore -->
<script src='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-omnivore/v0.3.1/leaflet-omnivore.min.js'></script>
jgravois commented 7 years ago

worked like a charm. thanks!