2011-04-11 20:49:15 +08:00
|
|
|
<!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" />
|
|
|
|
|
2011-07-13 01:19:29 +08:00
|
|
|
<script src="../leaflet-include.js"></script>
|
2011-04-11 20:49:15 +08:00
|
|
|
</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>
|