Skip to content

JimuMapViewComponent

Function
JimuMapViewComponent(props{ onActiveViewChange?: (activeViewJimuMapView, previousActiveViewIdstring) => void; onViewGroupCreate?: (viewGroupJimuMapViewGroup) => void; onViewsChange?: (views{}) => void; onViewsCreate?: (views{}) => void; useMapWidgetId: string }, deprecatedLegacyContext?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
ParameterTypeNotes
props{ onActiveViewChange?: (activeViewJimuMapView, previousActiveViewIdstring) => void; onViewGroupCreate?: (viewGroupJimuMapViewGroup) => void; onViewsChange?: (views{}) => void; onViewsCreate?: (views{}) => void; useMapWidgetId: string }
deprecatedLegacyContextany
Returns 
ReactNode

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