Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
El Bruno LealLet demo
<!DOCTYPE html>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<h2>El Bruno - LeafLet demo 01</h2>
<div id="map"></div>
// center map in Santiago Bernabeu Metro Station
var map ='map').setView([40.451631, -3.690366], 18);
L.tileLayer('http://{s}{z}/{x}/{y}.png', {
attribution: 'Parada de Metro Santiago Bernabeu'
// add marker in the Santiago Bernabeu footbal stadium
L.marker([40.453146, -3.688344]).addTo(map)
.bindPopup('El estadio del Real Madrid<br>Pedazo de cracks.')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment