/// <summary>
        /// The default constructor
        /// </summary>
        public LiteMapMeasureInteractionMode()
        {
            // Sets the active image cursor of the interaction mode
            ImageCursor = MapInteractionModeImageCursor.MeasureDimension;

            // Construct the measurers
            _dimensioningMeasurer = new LiteMapDimMeasurer();
            _freeMeasurer         = new LiteMapFreeMeasurer();

            // Set a start measurer
            Measurer = _dimensioningMeasurer;
        }
        /// <summary>
        /// The default constructor
        /// </summary>
        public MapTrailInteractionModeIS(MapTrailISViewModel viewModel)
        {
            _viewModel  = viewModel;
            ImageCursor = MapInteractionModeImageCursor.Measure;
            //ImageCursor = MapInteractionModeImageCursor.MeasureDimension;

            // Construct the measurers
            _dimensioningMeasurer = new LiteMapDimMeasurer();
            _freeMeasurer         = new LiteMapFreeMeasurerIS();

            // Set a start measurer
            Measurer = _dimensioningMeasurer;
        }
Пример #3
0
        /// <summary>
        /// The default constructor
        /// </summary>
        public MapPointInteractionModeIS(MapPointISViewModel viewModel)
        {
            _viewModel = viewModel;
            // Sets the active image cursor of the interaction mode
            ImageCursor = MapInteractionModeImageCursor.MeasureDimension;

            // Construct the measurers
            _dimensioningMeasurer = new LiteMapDimMeasurer();
            _freeMeasurer         = new LiteMapFreeMeasurerIS();

            // Set a start measurer
            Measurer = _dimensioningMeasurer;
        }