I have a TrackInteractiveOverlay called 'MyTrackInteractiveOverlay' and it
contains features (points/lines/polygons), which at some point in the program
are added as follows:
MyTrackInteractiveOverlay.TrackShapeLayer.InternalFeatures.Add(feat);
The idea is that the
user will be able to edit these features interactively on the map, after some
kind of action has pushed them the map's EditOverlay.
Additionaly I have a RulerTrackInteractiveOverlay (class copied from the ruler overlay example) called 'MyRulerTrackInteractiveOverlay'.
When I set
map.TrackOverlay
= MyTrackInteractiveOverlay;
The map shows my
features.
When I set
map.TrackOverlay = MyRulerTrackInteractiveOverlay
The map lets me use my
interactive ruler.
I'd like to show the
features overlay and still be able to use the interactive ruler. So I tried the
following:
map.TrackOverlay = MyRulerTrackInteractiveOverlay;
map.Overlays.Add(MyTrackInteractiveOverlay);
But then my features don't show.
Any help
will be much appreciated.