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(); }
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(); }