mirror of
https://github.com/heyarne/berliner-winter.git
synced 2026-05-06 19:23:39 +02:00
Add map overview of berlin with toner-lite map tiles
This commit is contained in:
parent
b7f571b20f
commit
c44c5a35b8
2 changed files with 9 additions and 2 deletions
|
|
@ -2,10 +2,19 @@
|
|||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="map"></div>
|
||||
<script src="bower_components/leaflet-dist/leaflet.js"></script>
|
||||
<script type="text/javascript" src="http://maps.stamen.com/js/tile.stamen.js?v1.3.0"></script>
|
||||
<script>
|
||||
(function () {
|
||||
var map = L.map('map').setView([52.50, 13.40], 11);
|
||||
var layer = new L.StamenTileLayer("toner-lite");
|
||||
map.addLayer(layer);
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue