Namespaces
Events
-
button
-
Event when a user button is clicked in the edit bar
-
edit
-
Event when a feature are changed with the edit bar
Properties:
Name Type Description editObject the map position
Properties
Name Type Description actionstring select, addfeature, drawend, removefeature, modifyfeature, attributes, import:start, import:end, export:start, export:end
featuresArray.<GeoJSONFeature> attributesArray.<string> list of modified attributes
layerIdnumber -
move
-
Listen to position change
Properties:
Name Type Description positionObject the map position
Properties
Name Type Description centerArray.<number> the center of the maps as an array of longitude, latitude
zoomnumber the zoom level
Listeners of This Event:
-
select
-
Listen to new selection
Properties:
Name Type Description selectionArray.<GeoJSONFeature> an array of features in a GeoJSON format
Listeners of This Event:
-
step
-
Listen to step change (model 'etape' only)
Properties:
Name Type Description stepnumber current step
-
select:show
-
Listen to new feature show
Properties:
Name Type Description TheGeoJSONFeature current feature shown in a GeoJSON format