32 lines
882 B
HTML
32 lines
882 B
HTML
<!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" style="width: 1024px; height: 768px; border: 1px solid #ccc"></div>
|
|
|
|
<script type="text/javascript">
|
|
var map = new L.Map('map');
|
|
|
|
var bluemarble = new L.TileLayer.WMS("http://maps.opengeo.org/geowebcache/service/wms", {
|
|
layers: 'bluemarble',
|
|
attribution: "Data © NASA Blue Marble, image service by OpenGeo",
|
|
minZoom: 2,
|
|
maxZoom: 5,
|
|
});
|
|
|
|
var bounds = new L.LatLngBounds(new L.LatLng(32, -126), new L.LatLng(50, -64));
|
|
|
|
map.addLayer(bluemarble).fitWorld();
|
|
</script>
|
|
</body>
|
|
</html> |