Simple Leaflet Map
✓ Published0🌍 Public
Dd3noob
Last edited Apr 20, 2014
Created on Jan 28, 2014
This example displays a satellite view of Wellington, New Zealand, centered at coordinates -41.2858, 174.78682 with zoom level 14. It uses the Leaflet.js library to initialize a map object and display the Esri World Imagery tile layer from ArcGIS Online. The code sets the map’s dimensions via an HTML div and configures tile loading with attribution text and a maximum zoom of 18. This demonstrates a minimal Leaflet setup for embedding interactive map tiles in a web page.
AI-generated descriptionThis is an example script showing the use of leaflet.js with the Esri World Imagery tilesset.
It is intended to compliment the example found in Leaflet Tips and Tricks.