1

I need to set snapping to snap just to polygon vertex (by default it snaps to polygon vertex and edges).

In this example and according to this, the map.enableSnapping() function should return an SnappingManager and then I could set the layerInfo array of this object, setting for each item the snapToEdge property to false. But in my testing the map.enableSnapping() is returning undefined.

ArcGIS javascript API is 3.7 and ArcGIS Server is 10.2.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.