2011-05-31 00:20:23 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Leaflet debug page</title>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../../dist/leaflet.css" />
|
2013-11-08 22:43:14 +08:00
|
|
|
|
2011-05-31 00:20:23 +08:00
|
|
|
<link rel="stylesheet" href="../css/screen.css" />
|
2013-11-08 22:43:14 +08:00
|
|
|
|
2013-01-31 18:29:39 +08:00
|
|
|
<script type="text/javascript" src="../../build/deps.js"></script>
|
2011-06-02 22:07:56 +08:00
|
|
|
<script src="../leaflet-include.js"></script>
|
2011-05-31 00:20:23 +08:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2011-05-31 05:37:48 +08:00
|
|
|
<div id="map" style="width: 1024px; height: 440px; border: 1px solid #ccc"></div>
|
2011-05-31 00:20:23 +08:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
2011-05-31 17:36:05 +08:00
|
|
|
var map = new L.Map('map', {crs: L.CRS.EPSG4326});
|
2013-11-08 22:43:14 +08:00
|
|
|
|
2011-05-31 00:20:23 +08:00
|
|
|
var bluemarble = new L.TileLayer.WMS("http://maps.opengeo.org/geowebcache/service/wms", {
|
|
|
|
layers: 'bluemarble',
|
|
|
|
attribution: "Data © NASA Blue Marble, image service by OpenGeo",
|
2013-11-28 06:59:39 +08:00
|
|
|
minZoom: 0,
|
2012-07-10 16:43:18 +08:00
|
|
|
maxZoom: 5
|
2011-05-31 00:20:23 +08:00
|
|
|
});
|
|
|
|
|
|
|
|
map.addLayer(bluemarble).fitWorld();
|
|
|
|
</script>
|
|
|
|
</body>
|
2013-11-08 22:43:14 +08:00
|
|
|
</html>
|