I have created the attached XAF app(sample DB included) which has a list of Locations, and a MapControl embedded in a DashboardView.
Firstly, have I embedded the MapControl correctly, in particular the activation/initalisation code in MapController.cs?
Next, on the map I wish to display lines between the locations.
What is the best way of acheiving this? Does it involve assigning the list of Locations to the VectorItemsLayer's Datasource, or adding each line individually?
Lastly, what if I wanted to display only selected Locations?
If I want to add a checkbox against each Location, would I define a new Business object that inherits from Location but adds a checkbox, then dispaly a list of those rather than the original Location object?
How do I then display only the selected Locations on the map?
Thanks
We need additional time to research your project and scenario. Your patience is highly appreciated.