Hi,
I want to select multiple features on the shapefilefeaturelayer and want to move all the selected features at a time on the map. Please let me know how to achieve this.
Regards
Ranjith
Hi,
I want to select multiple features on the shapefilefeaturelayer and want to move all the selected features at a time on the map. Please let me know how to achieve this.
Regards
Ranjith
There are many ways to select features from a ShapeFileFeatureLayer, in the section "Querying Feature Layers" of the "How Do I" samples, you can see how to do that using different methods such as Sql, Sptial Query, Distance Query etc. There is also a project in the Code Community, Select with Track Shape that shows how to select features from tracking a rectangle on the map. code.thinkgeo.com/projects/show/selectwithtrackshape. It is a Winforms Desktop app, but you can easily adapt it for WPF.
What do you mean exactely by "want to move all the selected features at a time on the map"? Do you mean how to drag all the selected features at the same time on the map? Thank you.
Hi Val,
Thanks for your reply, what i mean to say is i want to drag all the selected features on the map. if you have any code snippet on this, please share it with me.
Regards
Ranjith
Ok, we will work on a little sample that shows how to do that. We should have something for you by tomorrow. Thank you for the idea.
I discussed the issue of being able to drag several features at the same time on the map with the development team. They told me that this is not a feature currently possible to accomplish. If this is a showstopper for you, let us know and we will see if we can add this for a later release. In the meantime, I let you know that we have a Code Community Wpf project that shows how to drag a polygon but this is for using only one feature. I think that you can still check that out: Select and Drag Feature code.thinkgeo.com/projects/show/selectdragwpf
Hi Val,
Thanks for your reply. I think this particular functionality is very useful and hoping it to see in next release.
Regards
Ranjith
I also think this would be very usefull to have that functionality. I communicated that to the WPF team. We will let you know to what release this will be added. Thank you.