GeoMapProps
Defined in: react/GeoMap.tsx:8
Properties
Section titled “Properties”aspectRatio?
Section titled “aspectRatio?”
optionalaspectRatio?: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.
backend?
Section titled “backend?”
optionalbackend?:BackendType
Defined in: react/GeoMap.tsx:17
className?
Section titled “className?”
optionalclassName?:string
Defined in: react/GeoMap.tsx:21
height?
Section titled “height?”
optionalheight?:number
Defined in: react/GeoMap.tsx:12
Fixed height (px). Omit (with width) for responsive sizing.
onHover?
Section titled “onHover?”
optionalonHover?: (hit,ev) =>void
Defined in: react/GeoMap.tsx:20
Parameters
Section titled “Parameters”HoverHit | null
PointerEvent
Returns
Section titled “Returns”void
onReady?
Section titled “onReady?”
optionalonReady?: (map) =>void
Defined in: react/GeoMap.tsx:19
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
projection
Section titled “projection”projection:
GeoProjection
Defined in: react/GeoMap.tsx:16
style?
Section titled “style?”
optionalstyle?:CSSProperties
Defined in: react/GeoMap.tsx:22
transform?
Section titled “transform?”
optionaltransform?:ViewTransform
Defined in: react/GeoMap.tsx:18
width?
Section titled “width?”
optionalwidth?:number
Defined in: react/GeoMap.tsx:10
Fixed width (px). Omit (with height) for responsive sizing.