JimuMapViewComponentProps

Interface

The JimuMapViewComponent component props

Properties

onActiveViewChange optional

onActiveViewChange: function

The function will be called when the current active view of the map widget is changed. For example, when we click on the switch-map tool for multi-source map or change datasources for the map widget.

Type declaration
    (activeViewJimuMapView, previousActiveViewIdstring): void
    Parameters
    Returns 
    void

onViewGroupCreate optional

onViewGroupCreate: function

ViewGroup will be created when the first view is added. Views in the groups may still not be loaded after group created.

Type declaration
    (viewGroupJimuMapViewGroup): void
    Parameters
    • viewGroupJimuMapViewGroup
    Returns 
    void

onViewsCreate optional

onViewsCreate: function

The function will be called when all of the JimuMapView instances are loaded.

Type declaration
    (viewsobject): void
    Parameters
    Returns 
    void

useMapWidgetId

useMapWidgetId: string

The map widget id selected from the JimuMapViewSelector component.

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