Feature layer issue for Selection Data

2021
1
10-29-2014 07:42 AM
AnandKirti
New Contributor

My Project is in Silverlight 5, MVVM & Prism 4. I have a requirement for Feature Layer Selection. when User Select on map, Graphic should get highlighted & show a menu with 2 options.

1. Info Details.

2 user can edit the Information.

if use click on 1 graphic Like Road then this is the functionality. & When user select and area all roads get highlighted & Corrospoinding Rows in Another datagird available in same screen should get highlighted. at the same time map should also have extra details in Popup Listbox etc.

I m not getting any kick start for this.

I have to allow user to break the geometry also like User can break 1 road in to parts.

Please help me. Any guide line for doing this.

Eagerly waiting for Reply

So far I am able to Display map with MVVM, load Dynamic Layer. Show Hide Feature layers, Now I my messing up with Selection at Feature layer. & Editing. Please find attachment for my work.

0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor

Hi Anand,

There are some editing samples in the SDK: ArcGIS API for Silverlight - Interactive Samples | ArcGIS for Developers

Editor should help with selection on FeatureLayer. You can either display feature attributes using MapTip, InfoWindow, FeatureDataForm, or FeatureDataGrid. Depending on which control you choose, there should be some event that indicates when it's completed. For example, Editor has EditorCompleted event, you will be able to know which features were selected. The layer itself provides a property FeatureLayer.SelectedGraphics, you can then perform your edits on these features.

0 Kudos