<script type="text/javascript"></script>
var map = L.map('map').setView([,], ); mapLink = '<a href="https://openstreetmap.org" target="_blank">OpenStreetMap</a>'; L.tileLayer( 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: '© ' + mapLink + ' Contributors', maxZoom: 20, }).addTo(map);
for (var i = 0; i < places.length; i++) { marker = new L.marker([places[i][1],places[i][2]]) //.bindPopup('<b>' + places[i][0] + '</b>' + '<br /><img src="' + places[i][3] + '/">') .bindPopup('<b>' + places[i][0] + '</b>') .addTo(map); }
</script>
Descargar coordenadas