Hello. I'm trying to create a "fleet status" application that pinpoints the current location of a fleet of aircraft on the map. I have the following requirements:
- A typical "fleet" will have less than 10 aircraft, although some may be larger, but I don't anticipate it ever being more than 100. I am using a custom Fleet object that is a collection of Aircraft objects as my data source.
- Each aircraft needs a popup to identify it, and present other custom information.
- We need to be able to turn individual aircraft on or off -- i.e. either show them or not, but on an individual basis.
- We need to plot flight routes, and be able to turn them on or off individually as well. Each flight route is a multi-segmented line consisting of several waypoints.
I was able to use the example code provided in this post: gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/12/aft/5040/afv/topic/Default.aspx to sort of accomplish this, but I have a feeling this is not the best way. I've read about the InMemoryMarkerOverlay, but the code in the example I referenced just uses the regular MarkerOverlay of the Map object. Also, I can't figure out how to display or hide markers (I would like to load all of them initially, and then just set a "Visible" property, if there was one).
Bottom line is that I'm very confused about the best approach to achieve the requirements I described above. There seem to be many ways to attach markers to the map, and I'm not sure which is the best. Please advise.
Thanks,
Ken