Difference between revisions of "Test"

From A.P.E.S. wiki
Jump to navigation Jump to search
(Blanked the page)
Tag: Blanking
 
(98 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<html>
 
<head>
 
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A==" crossorigin=""/>
 
    <script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js" integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA==" crossorigin=""></script>
 
  
<style>
 
.leaflet-container {
 
height: 400px;
 
width: 600px;
 
max-width: 100%;
 
max-height: 100%;
 
}
 
</style>
 
 
 
</head>
 
<body>
 
 
 
 
<div id="map" style="width: 600px; height: 400px;"></div>
 
 
 
 
 
<script type="text/javascript">
 
 
var map = L.map('map', {
 
center: [-10, 17],
 
zoom: 3
 
});
 
 
var basemaps = {
 
Topography: L.tileLayer.wms('http://ows.mundialis.de/services/service?', {
 
layers: 'TOPO-WMS'
 
}),
 
 
Places: L.tileLayer.wms('http://ows.mundialis.de/services/service?', {
 
layers: 'OSM-Overlay-WMS'
 
}),
 
 
'Topography, then places': L.tileLayer.wms('http://ows.mundialis.de/services/service?', {
 
layers: 'TOPO-WMS,OSM-Overlay-WMS'
 
}),
 
 
'Places, then topography': L.tileLayer.wms('http://ows.mundialis.de/services/service?', {
 
layers: 'OSM-Overlay-WMS,TOPO-WMS'
 
})
 
};
 
 
var layerControl = L.control.layers(basemaps, {}, {collapsed: false}).addTo(map);
 
 
basemaps.Topography.addTo(map);
 
 
</script>
 
 
 
</body>
 
</html>
 

Latest revision as of 05:51, 29 September 2022