/// <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;
        }
예제 #2
0
        /// <summary>
        /// The default constructor
        /// </summary>
        public LiteMapMeasureInteractionModeIS(LiteMapMeasureISViewModel 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;
        }