Exemple #1
0
        /// <summary>
        /// Performs any processing that needs to be done just before the position of
        /// a referenced feature is changed.
        /// </summary>
        /// <param name="f">The feature that is about to be moved  - something that
        /// the <c>IFeatureDependent</c> is dependent on (not null).</param>
        /// <param name="ctx">The context in which the move is being made (not null).</param>
        public void OnFeatureMoving(Feature f, UpdateEditingContext ctx)
        {
            EditingIndex index = f.MapModel.EditingIndex;

            if (index != null && this.IsIndexed)
            {
                index.RemoveCircle(this);
                this.IsIndexed = false;
            }
        }