Published
Edited
Mar 30, 2021
1 fork
Insert cell
Insert cell
map = {
const container = html`<div style="height: 600px;"></div`;
yield container;
const map = L.map(container).setView([43.677271, -84.380461], 13);

esriLeaflet
.tiledMapLayer({
url:
'https://tiles.arcgis.com/tiles/QcN4ko50whTktDF1/arcgis/rest/services/Ortho_Midland2020_0520and0521/MapServer',
maxZoom: 18
})
.addTo(map);
}
Insert cell
L = require('leaflet@1.7.1')
Insert cell
esriLeaflet = require('https://unpkg.com/esri-leaflet@2.5.3/dist/esri-leaflet.js')
Insert cell
html`<link href='${resolve(
'leaflet@1.7.1/dist/leaflet.css'
)}' rel='stylesheet' />`
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