Select to view content in your preferred language

Snapping to MapServer Layer(API 3.2)

550
1
Jump to solution
11-14-2013 09:27 AM
JorgeVinagre
Deactivated User
Hi there

The documentation about snapping states that the snapping is enabled by default to all feature layers and graphic layers.
It happens that in my web app, feature layers are always hidden and the user only interacts with layers from map services(views).
The user draws on a graphic layer, persists the geometry and then the app refreshes the map and the information shown is from the "view" itself and not from the feature layer directly.
Does this means that i cannot have snapping? Or i am understanding this wrong?


Thanks
0 Kudos
1 Solution

Accepted Solutions
JohnGravois
Deactivated User
you definitely need a clientside graphic in order to 'snap'. 

tiled and dynamic map service layers request and display images from ArcGIS Server, while FeatureLayers, the results of Query, Identify, Find etc. display retrieved JSON geometries as graphics instead.

View solution in original post

1 Reply
JohnGravois
Deactivated User
you definitely need a clientside graphic in order to 'snap'. 

tiled and dynamic map service layers request and display images from ArcGIS Server, while FeatureLayers, the results of Query, Identify, Find etc. display retrieved JSON geometries as graphics instead.