aboutsummaryrefslogtreecommitdiffstats
path: root/extlib/leaflet/debug/control/map-control.html
diff options
context:
space:
mode:
Diffstat (limited to 'extlib/leaflet/debug/control/map-control.html')
-rw-r--r--extlib/leaflet/debug/control/map-control.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/extlib/leaflet/debug/control/map-control.html b/extlib/leaflet/debug/control/map-control.html
new file mode 100644
index 00000000..8d52bc98
--- /dev/null
+++ b/extlib/leaflet/debug/control/map-control.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Leaflet debug page</title>
+
+ <link rel="stylesheet" href="../../dist/leaflet.css" />
+ <!--[if lte IE 8]><link rel="stylesheet" href="../../dist/leaflet.ie.css" /><![endif]-->
+
+ <link rel="stylesheet" href="../css/screen.css" />
+
+ <script src="../include.js"></script>
+</head>
+<body>
+
+ <div id="map"></div>
+
+ <script type="text/javascript">
+
+ var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png',
+ cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18}),
+ latlng = new L.LatLng(50.5, 30.51);
+
+ var map = new L.Map('map').addLayer(cloudmade).setView(latlng, 15);
+
+ var zoomControl = new L.Control.Zoom();
+ map.addControl(zoomControl);
+ </script>
+</body>
+</html> \ No newline at end of file