Skip to content

GeoMapProps

Defined in: react/GeoMap.tsx:8

optional aspectRatio?: number

Defined in: react/GeoMap.tsx:15

width ÷ height. When set, the map fills its parent’s width and keeps this ratio (the host resizes the engine in place, refitting the projection). Omit all three to fill the parent box.


optional backend?: BackendType

Defined in: react/GeoMap.tsx:17


optional className?: string

Defined in: react/GeoMap.tsx:21


optional height?: number

Defined in: react/GeoMap.tsx:12

Fixed height (px). Omit (with width) for responsive sizing.


optional onHover?: (hit, ev) => void

Defined in: react/GeoMap.tsx:20

HoverHit | null

PointerEvent

void


optional onReady?: (map) => void

Defined in: react/GeoMap.tsx:19

GeoMap

void


projection: GeoProjection

Defined in: react/GeoMap.tsx:16


optional style?: CSSProperties

Defined in: react/GeoMap.tsx:22


optional transform?: ViewTransform

Defined in: react/GeoMap.tsx:18


optional width?: number

Defined in: react/GeoMap.tsx:10

Fixed width (px). Omit (with height) for responsive sizing.