Select to view content in your preferred language

Rectangle selection tool and zoom level

4102
1
01-19-2015 07:32 AM
NikitaWachstaub
New Contributor

Hey everyone,

is there any posibility to choose some type of graphic in the map with something like a rectangle tool? Are there any sources or examples? I nedd for example to choose all polylines (with choose i mean for example change their color and save them to a collection, to work with them further).

Does it somehow depend on the zoom level how many graphics there will be choosen?

best regards,

NikWach

0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor

If your graphics are features coming from a service you can get the features under any geometry with a spatial query task executed at server side (sample).

If your graphics are created locally, FindGraphicsInHostCoordinates is likely what you need.

If you react to map gesture events you may also consider using the DirectlyOver method.

0 Kudos