Renders a top-down map of the world into RGBA bytes (row 0 = −Z edge). Pure (no DOM), so it also runs in workers and tests; draw it with new ImageData(pixels, resolution) or into a DataTexture.
new ImageData(pixels, resolution)
DataTexture
Local frame the map is centred in (default: the world's own frame; on planets use world.frameAt(lat, lon) to map anywhere).
world.frameAt(lat, lon)
Renders a top-down map of the world into RGBA bytes (row 0 = −Z edge). Pure (no DOM), so it also runs in workers and tests; draw it with
new ImageData(pixels, resolution)or into aDataTexture.