public override void SetMap(MapViewerControl newMap) { if (newMap != null) { position = newMap.MapTopLeft; } base.SetMap(newMap); }
public virtual void SetMap(MapViewerControl newMap) { map = newMap; RefreshShape(); UpdateLocalPosition(); }