コード例 #1
0
        protected AbstractResponderManager(CustomMap formsMap, AbstractRouteManager routeManager, AbstractPushpinManager pushpinManager)
        {
            FormsMap                          = formsMap;
            RouteManager                      = routeManager;
            PushpinManager                    = pushpinManager;
            _routeUpdater                     = routeManager.RouteUpdater;
            _routeUpdater.RouteStep          += OnRouteStep;
            _routeUpdater.RouteCompleted     += OnRouteCompleted;
            _routeUpdater.RouteHalfCompleted += OnRouteHalfCompleted;

            _updaterTokenSource = new CancellationTokenSource();
        }
コード例 #2
0
        public MapManager(
            CustomMap formsMap,
            AbstractPushpinManager pushpinManager,
            AbstractRouteManager routeManager,
            AbstractResponderManager responderManager,
            AbstractHeatMapManager heatMapManager)
        {
            FormsMap         = formsMap;
            PushpinManager   = pushpinManager;
            RouteManager     = routeManager;
            ResponderManager = responderManager;
            HeatMapManager   = heatMapManager;

            _mapAlreadyCentered = false;
            _incidentsObserver  = new IncidentsObserver(this);
            CurrentUserStatus.Reset();
        }
コード例 #3
0
 protected AbstractRouteManager(CustomMap formsMap, AbstractPushpinManager pushpinManager)
 {
     FormsMap       = formsMap;
     PushpinManager = pushpinManager;
     _routeUpdater  = new RoutesUpdater();
 }