#14 add line edition in leaflet in sandbox

This commit is contained in:
nobohan
2021-08-25 10:15:16 +02:00
parent cdf6e4ac45
commit 07e76fa6a8
61 changed files with 34775 additions and 14 deletions

View File

@@ -200,13 +200,6 @@
transparent: true,
}),
WMTS: L.tileLayer(
'https://geoservices.wallonie.be/arcgis/rest/services/IMAGERIE/ORTHO_LAST/MapServer/WTMS/tile/1.0.0/?' +
"&REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0" +
@@ -222,21 +215,25 @@
transparent: true,
tileSize : 512
})
// WMTS: L.tileLayer(
// 'http://geoservices.wallonie.be/arcgis/rest/services/IMAGERIE/ORTHO_2019/MapServer/tile/{z}/{x}/{y}', {
// attribution: '© SPW',
// transparent: true,
// tileSize : 512
// })
}
map.setView([50.5, 5.57], 10);
L.control.layers(basemaps).addTo(map);
var hash = L.hash(map);
var latlngs = [
[45.51, -122.68],
[37.77, -122.43],
[34.04, -118.2]
];
var polyline = L.polyline(latlngs, {color: 'red'}).addTo(map);
</script>
<footer>
<div>