Skip to content

Instantly share code, notes, and snippets.

@nighto
Created March 18, 2016 16:55
Show Gist options
  • Save nighto/76773507713b75a9a961 to your computer and use it in GitHub Desktop.
Save nighto/76773507713b75a9a961 to your computer and use it in GitHub Desktop.
Leaflet - second step
var muxiCoordinates = [-22.903719, -43.1760605];
var muxiMarkerMessage = "A Muxi fica aqui.<br>Olá mundo!";
L.marker(muxiCoordinates).addTo(map)
.bindPopup(muxiMarkerMessage)
.openPopup();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment