Greetings,
I'm transitioning all my FeatureLayers over to MarkerOverlays. I would still like to have each of my MarkerOverlays grouped together similar to a LayerOverlay. To do this, I made an overlay containing a collection of Overlays. I overrode DrawCore to iterate through all the overlays and call draw on those, however when I do this, I get a NullReferenceException on the Draw of my MarkerOverlay. I moved the MarkerOverlay out of the overlay collection in directly into the collection of overlays on the map and it worked fine. For reference, I'm using a FeatureSourceMarkerOverlay.
Any ideas/help on how I can group MarkerOverlays similar to LayerOverlay for layers would be appreciated.
Thanks,
.Ryan.