Thu, 02/16/2017 - 11:36
#1
Thu, 02/16/2017 - 13:17
The Leaflet on load event
The Leaflet on load event seems a little wonky to me - but here is how I got it to work.
map = L.map('map', {layers: mapLayer})
.on('load', function(){alert('we just want to get loaded');}) // sorry, just listened to Primal Scream
.setView([ 40.731701, -73.993411 ], 12)