/// <summary> /// Clone this instance /// </summary> public override DrawObject Clone() { DrawImage drawImage = new DrawImage(); drawImage.property = this.property.Clone(); drawImage.PointsArray = new List <PointLatLng>(PointsArray); FillDrawObjectFields(drawImage); return(drawImage); }
public override void OnMouseDown(MapControl control, MouseEventArgs e, int zoom) { var obj = new DrawImage(e.X, e.Y, zoom, TOOL_TYPE.image); AddNewObject(control, obj); }