Skip to content

Instantly share code, notes, and snippets.

@pietromenna
Created June 24, 2015 22:57
Show Gist options
  • Save pietromenna/b18a2f302923418ce8ea to your computer and use it in GitHub Desktop.
Save pietromenna/b18a2f302923418ce8ea to your computer and use it in GitHub Desktop.
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js"></script>
<style>
#map {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="map"></div>
<script>
var map = L.map('map').setView([0,0], 4);
L.tileLayer('http://a.tile.stamen.com/toner/{z}/{x}/{y}.png', {
}).addTo(map);
</script>
<p>During the workshop, Ashoka Finley explained about tiled and vector maps.</p>
<p>Vector is the future</p>
<p>He described leaflet, mapsense and mapbox</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment