Skip to content

geoLayer

geoLayer<F>(features, projection, opts?): (g) => void

Defined in: geo/geo-layer.ts:61

A Scene.group builder projecting any GeoJSON geometry once. Points → analytic circles.

WINDING (Polygon/MultiPolygon): geoPath fills on the sphere, so exterior rings must be wound CLOCKWISE in [lon, lat] (latitude up; negative signed area). A counter-clockwise ring is treated as its complement and fills the entire map. If polygons render as one map-covering fill, rewind them. See AGENTS.md “GeoJSON winding” and geo/project.ts.

F extends GeoInput

readonly F[]

GeoProjection

GeoLayerOptions<F> = {}

(g) => void