L.supermap.webmap(id, options)
Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id |
number |
id of the iPortal/Online map |
||||||||||||||||||||||||||||||||
options |
Object |
The optional parameters.
|
Fires
Extends
Events
-
coordconvertfailed
WebMap.js, line 1151 -
Triggered after the coordinate conversion failed.
Properties:
Name Type Description err
Object Error object.
-
coordconvertsuccess
WebMap.js, line 1089 -
Triggered after the coordinate conversion is successful.
Properties:
Name Type Description newCoor
L.latLng The coordinates after the conversion was successful.
-
featuremousemove
WebMap.js, line 1303 -
Fires when the mouse moves over the feature.
Properties:
Name Type Description feature
SuperMap.Feature.Vector The element currently being moved to.
-
featureselected
WebMap.js, line 1283 -
Click on a feature to trigger after the feature exists. Set the selected features.
Properties:
Name Type Description feature
SuperMap.Feature.Vector Clicked on the feature.
-
featureunselected
WebMap.js, line 1267 -
Reset selected features are empty.
Properties:
Name Type Description feature
SuperMap.Feature.Vector The feature selected before resetting.
-
maploaded
WebMap.js, line 199 -
Triggered when the basemap is loaded.
Properties:
Name Type Description map
L.Map Leaflet Map object.