Select to view content in your preferred language

Select Features in a FeatureLayer for Editing using a Graphic from a GraphicsLayer

375
0
09-04-2012 08:46 AM
KevinKingrey
Emerging Contributor
I've been looking for a sample on how to use a graphic to select features within a feature layer for editing.  I have the following two layers in my map...


Dim Points As FeatureLayer = TryCast(MyMap.Layers("Points"), FeatureLayer)

Dim selectionGraphic As GraphicsLayer = TryCast(MyMap.Layers("SelectionGraphic"), GraphicsLayer)


Once the selectionGraphic is created, I need to select the Points that it contains.  I would use the selection tool in the editor, but I need to evaluate the selection area prior to the points actually being selected so I can limit the number.  I have everything else working, just cannot get the selection part to work.

Any help would be greatly appreciated!
0 Kudos
0 Replies