Interface
JimuMapViewComponentProps
provides information about the JimuMapViewComponent
.
Properties
Property | Type | Notes |
---|---|---|
(activeView: JimuMapView, previousActiveViewId: string) => void | ||
(viewGroup: JimuMapViewGroup) => void | ||
(views: { [viewId: string]: JimuMapView }) => void | ||
string | The map widget id selected within the |
onViewGroupCreate
optional
Interface PropertyonViewGroupCreate: (viewGroup: JimuMapViewGroup) => void
Type declaration
function(viewGroup: JimuMapViewGroup): void
The JimuMapViewGroup
is created once the first view is added. Views in the groups may be still not loaded after a group is created.
Parameters
Parameter | Type |
---|---|
view | JimuMapViewGroup |
Returns
void
onViewsCreate
optional
Interface PropertyonViewsCreate: (views: { [viewId: string]: JimuMapView }) => void
Type declaration
function(views: { [viewId: string]: JimuMapView }): void
This function is called once all of the JimuMapView
instances have a JimuMapViewStatus
of "LOADED"
.
Parameters
Parameter | Type |
---|---|
views | { [viewId: string]: JimuMapView } |
Returns
void
onActiveViewChange: (activeView: JimuMapView, previousActiveViewId: string) => void
Type declaration
function(activeView: JimuMapView, previousActiveViewId: string): void
This function is called when the current active view of the map widget is changed. For example, it is called when clicking on the switch-map tool for multi-source maps or changing the
DataSource
for the map widget.Parameters
active View
previous Active View I d
Returns
void