Simple Example
View the source of this page to see how the map is created. Notice:
- Leaflet CSS in the head HTML
- Leaflet JS just before the end body tag
- div with id set to 'map'
- script block to create a map in the element with id='map', centred to Newry Town Hall with a zoom of 19
- Adds a mapbox tile layer with an attribution
- Defines a marker at a specific latitude and longitude
- Adds the marker to the map as a layer group