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