public override void SetMap(MapViewerControl newMap)
        {
            if (newMap != null)
            {
                position = newMap.MapTopLeft;
            }

            base.SetMap(newMap);
        }
示例#2
0
 public virtual void SetMap(MapViewerControl newMap)
 {
     map = newMap;
     RefreshShape();
     UpdateLocalPosition();
 }