PredictiveCacheLocationOptions
PredictiveCacheLocationOptions.
Parameters
currentLocationRadiusInMeters
How far around the user's location we're going to cache, in meters. Defaults to 20000 (20 km)
routeBufferRadiusInMeters
How far around the active route we're going to cache, in meters (if route is set). Defaults to 5000 (5 km)
destinationLocationRadiusInMeters
How far around the destination location we're going to cache, in meters (if route is set). Defaults to 50000 (50 km)
loadPredictiveCacheForAlternativeRoutes
Whether alternative routes will be loaded for predictive cache. Defaults to false.
Types
Link copied to clipboard
class Builder
Build a new PredictiveCacheLocationOptions
Properties
Functions
Link copied to clipboard
Get a builder to customize a subset of current options.
Link copied to clipboard
fun PredictiveCacheLocationOptions.toPredictiveLocationTrackerOptions(): PredictiveLocationTrackerOptions