Public
Edited
Aug 5
Insert cell
# Congo
Insert cell
import {Mapa,demoSettings} from '@mbrickmaps/mapa'
Insert cell
import {loadTiles, quadTiles, geoTile, noop, mercatorφ} from "@mbrickmaps/map-tiles"
Insert cell
//import {myocean} from "@mbrickmaps/oceans"
Insert cell
import {congo} from "@mbrickmaps/rivers"
Insert cell
import {
ocean,
countries,
innerlines,
coastlines,
lakes,
provinces
} from "@mbrickmaps/ne-10m"
Insert cell
import {viewof bounder, style} from '@mbrickmaps/bounder'
Insert cell
style
Insert cell
Insert cell
JSON.stringify(bounder.bounds)
Insert cell
savedExtent = [[["10.2985","9.0568"],["22.5665","9.0568"],["34.8346","9.0568"],["34.8346","-3.1717"],["34.8346","-15.2577"],["22.5665","-15.2577"],["10.2985","-15.2577"],["10.2985","-3.1717"],["10.2985","9.0568"]]]
Insert cell
Insert cell
blocks = FileAttachment("20220722_DRC_2022_Bid_Round_Blocks_v1 (1).json").json()
Insert cell
wdpa_wdoecm_sep2022_public_cod_shpPolygons = FileAttachment("WDPA_WDOECM_Sep2022_Public_COD_shp-polygons.json").json()
Insert cell
block = topojson.feature(blocks,blocks.objects['20220722_DRC_2022_Bid_Round_Blocks_v1']).features
Insert cell
Insert cell
filtered = provinces.filter((d) => d.properties.iso_a2 == "CD")
Insert cell
Insert cell
Congo.style
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
loadTiles(Congo,'peat',4)
Insert cell
loadTiles(Congo,'forest', 2)
Insert cell
loadTiles(Congo,'forest50', 3)
Insert cell
loadTiles(Congo,'forest75', 1)
Insert cell
loadTiles(Congo,'levels', 2)
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