prefetchAroundRouteOnIntervals abstract method
Prefetches map data within a corridor along the route, that is currently set for the provided NavigatorInterface instance.
If no route is set, no data will be prefetched. The route corridor defaults to a length of 10 km and a width of 5 km. To prefetch the whole route before navigation has been started see RoutePrefetcher.prefetchGeoCorridor. Map data is prefetched only in discrete intervals. Prefetching starts 1 km before reaching the end of the current corridor. Prefetching happens based on the current map-matched location - as indicated by the RouteProgress event. This method should be called right after navigation has started. In case of default prefetch length first prefetching will start after traveling a distance of 9 km along the route.
To control list of map content features for prefetch, use LayerConfiguration.enabledFeatures.
navigatorThe NavigatorInterface to listen for Route Progress to prefetch data ahead.
Implementation
void prefetchAroundRouteOnIntervals(NavigatorInterface navigator);