Example #1
0
        /// <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);
        }
Example #2
0
        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);
        }