protected override void OnMapMouseUp(MapMouseUpInteractiveOverlayEventArgs e) { base.OnMapMouseUp(e); if (TrackMode == TrackMode.Circle) { if (TrackShapeLayer.InternalFeatures.Contains("center")) { TrackShapeLayer.InternalFeatures.Remove("center"); } if (TrackShapeLayer.InternalFeatures.Contains("radius")) { TrackShapeLayer.InternalFeatures.Remove("radius"); } } }
protected override void OnMapMouseUp(MapMouseUpInteractiveOverlayEventArgs e) { base.OnMapMouseUp(e); if (TrackMode == TrackMode.Circle) { if (TrackShapeLayer.InternalFeatures.Contains(Resources.CenterFeatureKey)) { TrackShapeLayer.InternalFeatures.Remove(Resources.CenterFeatureKey); } if (TrackShapeLayer.InternalFeatures.Contains(Resources.RadiusFeatureKey)) { TrackShapeLayer.InternalFeatures.Remove(Resources.RadiusFeatureKey); } } }
protected override void OnMapMouseUp(MapMouseUpInteractiveOverlayEventArgs e) { base.OnMapMouseUp(e); if (TrackMode == TrackMode.Circle) { if (TrackShapeLayer.InternalFeatures.Contains(Resources.CenterFeatureKey)) { TrackShapeLayer.InternalFeatures.Remove(Resources.CenterFeatureKey); } if (TrackShapeLayer.InternalFeatures.Contains(Resources.RadiusFeatureKey)) { TrackShapeLayer.InternalFeatures.Remove(Resources.RadiusFeatureKey); } } }