Пример #1
0
        /// <summary>
        /// Creates a new Map
        /// </summary>
        private Map()
        {
            _isMiniMap = false;

            EventPublisher = new Publisher(this);
            MarkerManager = new MarkerManager();
            Manipulators = new ManipulatorManagerController(this);

            _toolTip = JanusControls.CreateTooltip();
            SetTooltipProperties();
        }
Пример #2
0
        /// <summary>
        /// Creates a new MiniMap
        /// </summary>
        private Map(Map mainMap)
        {
            _isMiniMap = true;

            EventPublisher = new Publisher(this);
            MarkerManager = mainMap.MarkerManager;
            Manipulators = new ManipulatorManagerController(this, mainMap);

            _toolTip = JanusControls.CreateTooltip();
            SetTooltipProperties();
        }