Marker Popup Example

Try It Out

  • Click the marker to view the popup message

Code

          .bindPopup('Newry Town Hall')

        

View the source of this page to see fully how the map is created. Notice:

  • bindPopup is added to the marker with HTML formatting

Next Example Previous