Snapping helps you draw and edit features accurately by aligning points with nearby vertices and edges of existing features. This ensures precise placement and helps maintain the geometric accuracy and connectivity of features on the map. See Snapping definitions.
You can configure whether snapping is enabled or disabled when the application starts.
To configure the initial snapping state:
1.set the enableSnappingOnStart property in the Snapping toolbar configuration in the app.json file.
{
"id": "networks-snapping-config-1",
"title": "language-app-networks-snapping-title",
"enableSnappingOnStart": true,
"generalSnapping": true,
"icon": "snapping",
"topologicalEditing": true,
"unRulesSnapping": true,
"$type": "networks-snapping-model"
}
2.Set enableSnappingOnStart to:
▪true: Snapping is enabled when the application starts.
▪false: Snapping is disabled when the application starts.
3.Restart the application for the changes to take effect.
The Snapping toolbar reflects the configured initial state.
Other events configured in VertiGIS Studio Web remain supported. However, disabling snapping through the Map Initialized event is overridden by the enableSnappingOnStart property. Use this property to control the initial snapping state instead. For more information about events, see VertiGIS Studio Web Administrator Guide – Events.