Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm using ArcGIS Flex API 3.1. I'd like to know if it is possible to choose the layer(s) on which I can snap the graphic I'm moving. Currently, when I activate snapping, my graphics are snapped on all feature layers of the map. I don't want this behaviour. I want to be able to snap only on one feature class.

Resgards

share|improve this question
    
Not sure but try public static const SNAP_MODE_OFF:String = off –  Sunil Feb 11 '13 at 10:05
    
@Sunil This would deactivate snapping on all feature layers. I want to be able to snap on only one layer among many layers existing on the map. –  yo_haha Feb 11 '13 at 10:25
    
@yo-haha Oh I see...I will research and let you know..thanks –  Sunil Feb 11 '13 at 10:27

2 Answers 2

up vote 2 down vote accepted

This isn't possible. See the answer on your question on the ArcGIS forum - http://forums.arcgis.com/threads/77154-Choosing-the-snapping-layer

share|improve this answer

According to your question the possible answer :

snapDistance property
snapDistance :Number

Since : ArcGIS API for Flex 2.3

The distance in pixels for snapping. To disable snapping, set this value to 0.

The default value is 15.

Details click here

share|improve this answer
    
This would deactivate snapping on all feature layers. I want to be able to snap on only one layer among many layers existing on the map –  yo_haha Feb 11 '13 at 10:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.