Add Line features with Snaping to Road Network (Polyline guided layer) How to achieve this ?

858
1
10-17-2016 10:55 PM
AnjithaSenarath4
New Contributor

I have developed application to add edit polylines using ArcGIS feature service. Currently application can add , edit, delete features. However we need to develop further and enhance this application to enable snapping to road network (Users should be able to draw lines on top of road network. new feature should snap to guided road network layer. 

How can we achieve this in javascript ? 

0 Kudos
1 Reply
PanagiotisPapadopoulos
Esri Regular Contributor

arcgis javascript allow snapping 

Map | API Reference | ArcGIS API for JavaScript 3.18 

this is for Editor, Measurement widget or the Draw and Edit toolbars. here is a sample app

Editor widget with simple toolbar | ArcGIS API for JavaScript 3.18