Public
Edited
Aug 31, 2024
Insert cell
# [wip] h3j demo on Observable
Source: https://github.com/INSPIDE/h3j-h3t/tree/main/examples/h3t
Insert cell
Insert cell
map = {
const map = new maplibregl.Map({
container: container, style: style, center: center,
zoom: zoom, localIdeographFontFamily: localIdeographFontFamily,
maxPitch: 85
})
map.addControl(new maplibregl.FullscreenControl())
map.addControl(new maplibregl.NavigationControl())
map.addControl(new maplibregl.TerrainControl({ "source": "gel-raster-dem" }))
map.addControl(new maplibregl.ScaleControl({ "unit": "metric" }))
map.addControl(new maplibregl.GeolocateControl())
invalidation.then(() => map.remove())
yield map
}
Insert cell
Insert cell
await import("https://inspide.github.io/h3j-h3t/dist/h3j_h3t.js")
Insert cell
center = [-3.703622869000082,40.41711423898472]
Insert cell
zoom = 16
Insert cell
localIdeographFontFamily = '"HiraginoSans-W6", "Hiragino Sans W6", "Hiragino Sans", "HGP創英角ゴシックUB", "Meiryo", "sans900", sans-serif'
Insert cell
style = "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json"
Insert cell
<link href="https://unpkg.com/maplibre-gl/dist/maplibre-gl.css" rel="stylesheet" />
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more