Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
        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);
        }