Skip to main content

Function: GeoVisCanvas()

GeoVisCanvas(__namedParameters): Element

Defined in: react/GeoVisCanvas.tsx:29

Renders a map canvas managed by the GeoVis runtime. Must be used inside a GeoVisProvider. The component mounts the engine's native map into a <div> and unmounts it automatically when removed from the tree.

While the provider's map mode is split (see spec.mapModeControl), it renders the two side-by-side maps instead, and its own map is unmounted until the mode returns to a single map.

Parameters​

ParameterType
__namedParametersGeoVisCanvasProps

Returns​

Element