Last active
August 29, 2015 13:56
-
-
Save aaizemberg/9236197 to your computer and use it in GitHub Desktop.
CAWS (leafletjs con maptiles de OSM)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Club Argentino de WUSHU</title> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="http://leafletjs.com/dist/leaflet.css" /> | |
</head> | |
<body> | |
<div id="map" style="width: 100%; height: 600px"></div> | |
<script src="http://leafletjs.com/dist/leaflet.js"></script> | |
<script> | |
var map = L.map('map').setView([-34.6051541, -58.4280189], 16); | |
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { | |
maxZoom: 18, | |
attribution: '© <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>' | |
}).addTo(map); | |
L.marker([-34.6051541, -58.4280189]).addTo(map).bindPopup("<b>CAWS</b><br>Club Argentino de Wushu<br><br><a href='http://www.caws.com.ar/' target='_blank'>http://www.caws.com.ar/</a>"); | |
var popup = L.popup(); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment