JimuMapViewComponent

JimuMapViewComponent

Function
JimuMapViewComponent(props{ onActiveViewChange?: (activeViewJimuMapView, previousActiveViewIdstring) => void; onViewGroupCreate?: (viewGroupJimuMapViewGroup) => void; onViewsCreate?: (views{ [viewId: string]: JimuMapView }) => void; useMapWidgetId: string }, context?any): ReactNode

A React component that makes it easy to use the JimuMapView instance from the map widget. In most cases, you can pass in useMapWidgetIds , and use onViewsCreate , onActiveViewChange to get callback from the JimuMapViewComponent .

Parameters
ParameterType
props
{ onActiveViewChange?: (activeViewJimuMapView, previousActiveViewIdstring) => void; onViewGroupCreate?: (viewGroupJimuMapViewGroup) => void; onViewsCreate?: (views{ [viewId: string]: JimuMapView }) => void; useMapWidgetId: string }
context
any
Returns 
ReactNode

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.