8d52bc983aa7ca6d89569f5663cb025fdc82b9c0
[mediagoblin.git] / extlib / leaflet / debug / control / map-control.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Leaflet debug page</title>
5
6 <link rel="stylesheet" href="../../dist/leaflet.css" />
7 <!--[if lte IE 8]><link rel="stylesheet" href="../../dist/leaflet.ie.css" /><![endif]-->
8
9 <link rel="stylesheet" href="../css/screen.css" />
10
11 <script src="../include.js"></script>
12 </head>
13 <body>
14
15 <div id="map"></div>
16
17 <script type="text/javascript">
18
19 var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png',
20 cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18}),
21 latlng = new L.LatLng(50.5, 30.51);
22
23 var map = new L.Map('map').addLayer(cloudmade).setView(latlng, 15);
24
25 var zoomControl = new L.Control.Zoom();
26 map.addControl(zoomControl);
27 </script>
28 </body>
29 </html>