Published
Edited
Jun 25, 2020
Fork of 🍃 Leaflet
1 fork
Importers
6 stars
Insert cell
Insert cell
denHaagMap = {
let s = `width:${width}px;height:${width/1.6}px;position: relative;`
let container = html`<div id="container" style="+s+"><div id="map"></div><div id="sidepanel"><table class="reusable-legend"> </table> </div></div>`
yield container;
// Now we create a map object and add a layer to it.
let map = L.map('map').setView([BSN_locations.Vlaskamp[1],BSN_locations.Vlaskamp[0]], 13);

TileLayer.addTo(map);
HeatLayer.addTo(map);
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
topojsondata = FileAttachment("den_haag_PC6_wdurdis.json").json()
Insert cell
PC6 = topojson.feature(topojsondata,topojsondata.objects.den_haag_PC6_wdurdis)
Insert cell
Insert cell
C_DOM = [5,35]
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more