Builder
Builder for RoutingTilesOptions. You must choose a filePath for this to be built successfully.
Constructors
Functions
Build the RoutingTilesOptions
Creates a custom file path to store the road network tiles. It is used for persistent configuration and history files storing.
Override minimum time in days between local version of tiles and latest on the server to consider using the latest version of routing tiles from the server. This only works if tiles version is empty.
Override the routing tiles base endpoint with a URI.
String built out of <account>[.<graph>]
variables.
Profile of the dataset. One of (driving|driving-traffic|walking|cycling|truck).
Override tile store instance. It manages downloads and storage for requests to tile-related API endpoints. For offline/predictive-caching use cases this instance should be the same that is passed to map resource options. When creating the TileStore make sure to call TileStore.setOption with TileStoreOptions.MAPBOX_ACCESS_TOKEN and your token. By default (if null
is provided here), the TileStore will be created with a filePath and NavigationOptions.accessToken.
Override the default routing tiles version.