0d1eae32be
Fix #5373. - Remove references to removed file "../../build/deps.js" - Update leaflet-include.js to point to "../dist/leaflet-src.js" - Update watch to use the same destination file as rollup (dist/leaflet-src.js) - Define getRandomLatLng where used
30 lines
710 B
HTML
30 lines
710 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Leaflet debug page</title>
|
|
|
|
<link rel="stylesheet" href="../../dist/leaflet.css" />
|
|
|
|
<link rel="stylesheet" href="../css/screen.css" />
|
|
|
|
<script src="../leaflet-include.js"></script>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="map" style="width: 1024px; height: 440px; border: 1px solid #ccc"></div>
|
|
|
|
<script>
|
|
var map = new L.Map('map', {crs: L.CRS.EPSG4326});
|
|
|
|
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: 0,
|
|
maxZoom: 5
|
|
});
|
|
|
|
map.addLayer(bluemarble).fitWorld();
|
|
</script>
|
|
</body>
|
|
</html>
|