Skip navigation links
A B C D E F G H I L M N O P Q R S T U V W 

A

abbreviation() - Method in class com.mapbox.api.directions.v5.models.BannerComponents
The abbreviated form of text.
abbreviation(String) - Method in class com.mapbox.api.directions.v5.models.BannerComponents.Builder
The abbreviated form of text.
abbreviationPriority() - Method in class com.mapbox.api.directions.v5.models.BannerComponents
An integer indicating the order in which the abbreviation abbr should be used in place of text.
abbreviationPriority(Integer) - Method in class com.mapbox.api.directions.v5.models.BannerComponents.Builder
An integer indicating the order in which the abbreviation abbr should be used in place of text.
accessToken(String) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Required to call when this is being built.
accessToken() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
A valid Mapbox access token used to making the request.
accessToken(String) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
A valid Mapbox access token used to making the request.
accessToken(String) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
Required to call when this is being built.
accessToken(String) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Required to call when this is being built.
accessToken(String) - Method in class com.mapbox.api.matrix.v1.MapboxMatrix.Builder
Required to call when this is being built.
accessToken(String) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
Required to call when this is being built.
accessToken(String) - Method in class com.mapbox.api.routetiles.v1.MapboxRouteTiles.Builder
Required to call when this is being built.
accessToken(String) - Method in class com.mapbox.api.routetiles.v1.versions.MapboxRouteTileVersions.Builder
Required to call when this is being built.
accessToken(String) - Method in class com.mapbox.api.speech.v1.MapboxSpeech.Builder
Required to call when this is being built.
accessToken(String) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
Required to call when this is being built.
accessToken(String) - Method in class com.mapbox.api.tilequery.MapboxTilequery.Builder
Required to call when this is being built.
active() - Method in class com.mapbox.api.directions.v5.models.BannerComponents
A boolean telling you if that lane can be used to complete the upcoming maneuver.
active(Boolean) - Method in class com.mapbox.api.directions.v5.models.BannerComponents.Builder
A boolean telling you if that lane can be used to complete the upcoming maneuver.
addAnnotations(String...) - Method in class com.mapbox.api.matrix.v1.MapboxMatrix.Builder
Optionally pass in annotations to control to change which data to return.
addApproaches(String...) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Indicates from which side of the road to approach a waypoint.
addApproaches(String...) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Optionally used to indicate how map matched routes consider rom which side of the road to approach a waypoint.
addApproaches(String...) - Method in class com.mapbox.api.matrix.v1.MapboxMatrix.Builder
A semicolon-separated list indicating the side of the road from which to approach waypoints in a requested route.
addBearing(Double, Double) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Optionally, Use to filter the road segment the waypoint will be placed on by direction and dictates the angle of approach.
address() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
A string of the house number for the returned address feature.
address(String) - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature.Builder
A string of the house number for the returned address feature.
addWaypoint(Point) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
This can be used to set up to 23 additional in-between points which will act as pit-stops along the users route.
addWaypointNames(String...) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Custom names for waypoints used for the arrival instruction, each separated by ; .
addWaypointNames(String...) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Custom names for waypoints used for the arrival instruction, each separated by ; .
alternatives(Boolean) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Optionally set whether to try to return alternative routes.
alternatives() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
The same alternative setting which were used during the request that resulted in this root directions response.
alternatives(Boolean) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
Whether the alternatives value was set to true or not.
alternativesCount() - Method in class com.mapbox.api.matching.v5.models.MapMatchingTracepoint
Number of probable alternative matchings for this trace point.
alternativesCount(Integer) - Method in class com.mapbox.api.matching.v5.models.MapMatchingTracepoint.Builder
Number of probable alternative matchings for this trace point.
annotation() - Method in class com.mapbox.api.directions.v5.models.RouteLeg
A LegAnnotation that contains additional details about each line segment along the route geometry.
annotation(LegAnnotation) - Method in class com.mapbox.api.directions.v5.models.RouteLeg.Builder
A LegAnnotation that contains additional details about each line segment along the route geometry.
ANNOTATION_CONGESTION - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
The congestion, provided as a String, between each pair of coordinates.
ANNOTATION_DISTANCE - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
The distance, in meters, between each pair of coordinates.
ANNOTATION_DURATION - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
The duration, in seconds, between each pair of coordinates.
ANNOTATION_MAXSPEED - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
The posted speed limit, between each pair of coordinates.
ANNOTATION_SPEED - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
The speed, in km/h, between each pair of coordinates.
annotations(String...) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Whether or not to return additional metadata along the route.
annotations() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
The same annotations in String format which were used during the request that resulted in this root directions response.
annotations(String) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
The annotation which were used during the request process.
annotations(String...) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Whether or not to return additional metadata along the route.
annotations(String) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
 
annotations(String...) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
Whether or not to return additional metadata along the route.
announcement() - Method in class com.mapbox.api.directions.v5.models.VoiceInstructions
Provides the instruction string which was build on the server-side and can sometimes concatenate instructions together if maneuver instructions are too close to each other.
announcement(String) - Method in class com.mapbox.api.directions.v5.models.VoiceInstructions.Builder
Provides the instruction string which was build on the server-side and can sometimes concatenate instructions together if maneuver instructions are too close to each other.
APPROACH_CURB - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
The route will be returned so that on arrival, the waypoint will be found on the side that corresponds with the driving_side of the region in which the returned route is located.
APPROACH_UNRESTRICTED - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
The routes can approach waypoints from either side of the road.
approaches() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
Indicates from which side of the road to approach a waypoint.
approaches(String) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
The same approaches the user originally made when the request was made.
ARRIVE - Static variable in class com.mapbox.api.directions.v5.models.StepManeuver
Indicates arrival to a destination of a leg.
attribution() - Method in class com.mapbox.api.geocoding.v5.models.GeocodingResponse
A string attributing the results of the Mapbox Geocoding API to Mapbox and links to Mapbox's terms of service and data sources.
attribution(String) - Method in class com.mapbox.api.geocoding.v5.models.GeocodingResponse.Builder
A string attributing the results of the Mapbox Geocoding API to Mapbox and links to Mapbox's terms of service and data sources.
attribution(boolean) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
Optionally, control whether there is attribution on the image.
autoBuild() - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
 
autocomplete(Boolean) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
This controls whether autocomplete results are included.
availableVersions() - Method in class com.mapbox.api.routetiles.v1.versions.models.RouteTileVersionsResponse
Returns the list of available versions.

B

BannerComponents - Class in com.mapbox.api.directions.v5.models
A part of the BannerText which includes a snippet of the full banner text instruction.
BannerComponents() - Constructor for class com.mapbox.api.directions.v5.models.BannerComponents
 
BannerComponents.Builder - Class in com.mapbox.api.directions.v5.models
This builder can be used to set the values describing the BannerComponents.
bannerInstructions(Boolean) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Request banner instructions object to be returned in your response.
BannerInstructions - Class in com.mapbox.api.directions.v5.models
Visual instruction information related to a particular LegStep useful for making UI elements inside your application such as banners.
BannerInstructions() - Constructor for class com.mapbox.api.directions.v5.models.BannerInstructions
 
bannerInstructions() - Method in class com.mapbox.api.directions.v5.models.LegStep
If in your request you set MapboxDirections.bannerInstructions() to true, you'll receive a list of BannerInstructions which encompasses all information necessary for creating a visual cue about a given LegStep.
bannerInstructions(List<BannerInstructions>) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
If in your request you set MapboxDirections.bannerInstructions() to true, you'll receive a list of BannerInstructions which encompasses all information necessary for creating a visual cue about a given LegStep.
bannerInstructions() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
Whether or not the request had banner instructions set to true or not.
bannerInstructions(Boolean) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
Whether or not the request had banner instructions set to true or not.
bannerInstructions(Boolean) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Setting this will determine Whether or not to return banner objects associated with the `routeSteps`.
BannerInstructions.Builder - Class in com.mapbox.api.directions.v5.models
This builder can be used to set the values describing the BannerInstructions.
BannerText - Class in com.mapbox.api.directions.v5.models
Includes both plain text information that can be visualized inside your navigation application along with the text string broken down into BannerComponents which may or may not include a image url.
BannerText() - Constructor for class com.mapbox.api.directions.v5.models.BannerText
 
BannerText.Builder - Class in com.mapbox.api.directions.v5.models
This builder can be used to set the values describing the BannerText.
baseUrl() - Method in class com.mapbox.api.directions.v5.MapboxDirections
 
baseUrl(String) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Optionally change the APIs base URL to something other then the default Mapbox one.
baseUrl() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
The same base URL which was used during the request that resulted in this root directions response.
baseUrl(String) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
The base URL that was used during the request time and resulted in this responses result.
baseUrl() - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding
 
baseUrl(String) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
Optionally change the APIs base URL to something other then the default Mapbox one.
baseUrl() - Method in class com.mapbox.api.matching.v5.MapboxMapMatching
 
baseUrl(String) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Optionally change the APIs base URL to something other then the default Mapbox one.
baseUrl() - Method in class com.mapbox.api.matrix.v1.MapboxMatrix
 
baseUrl(String) - Method in class com.mapbox.api.matrix.v1.MapboxMatrix.Builder
Optionally change the APIs base URL to something other then the default Mapbox one.
baseUrl() - Method in class com.mapbox.api.optimization.v1.MapboxOptimization
 
baseUrl(String) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
Optionally change the APIs base URL to something other then the default Mapbox one.
baseUrl() - Method in class com.mapbox.api.routetiles.v1.MapboxRouteTiles
 
baseUrl(String) - Method in class com.mapbox.api.routetiles.v1.MapboxRouteTiles.Builder
Optionally change the APIs base URL to something other then the default Mapbox one.
baseUrl() - Method in class com.mapbox.api.routetiles.v1.versions.MapboxRouteTileVersions
 
baseUrl(String) - Method in class com.mapbox.api.routetiles.v1.versions.MapboxRouteTileVersions.Builder
Optionally change the APIs base URL to something other then the default Mapbox one.
baseUrl() - Method in class com.mapbox.api.speech.v1.MapboxSpeech
 
baseUrl(String) - Method in class com.mapbox.api.speech.v1.MapboxSpeech.Builder
Optionally change the APIs base URL to something other then the default Mapbox one.
baseUrl(String) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
Optionally change the APIs base URL to something other then the default Mapbox one.
baseUrl() - Method in class com.mapbox.api.tilequery.MapboxTilequery
 
baseUrl(String) - Method in class com.mapbox.api.tilequery.MapboxTilequery.Builder
Optionally change the APIs base URL to something other then the default Mapbox one.
bbox(Point, Point) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
Limit the results to a defined bounding box.
bbox(double, double, double, double) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
Limit the results to a defined bounding box.
bbox(String) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
Limit the results to a defined bounding box.
bbox() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
A CarmenFeature might have a member named bbox to include information on the coordinate range for it's Geometry.
bbox(BoundingBox) - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature.Builder
A Feature might have a member named bbox to include information on the coordinate range for it's Features.
bearing(Double, Double) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
Optionally, Use to filter the road segment the waypoint will be placed on by direction and dictates the angle of approach.
bearingAfter() - Method in class com.mapbox.api.directions.v5.models.StepManeuver
Number between 0 and 360 indicating the clockwise angle from true north to the direction of travel right after the maneuver.
bearingAfter(Double) - Method in class com.mapbox.api.directions.v5.models.StepManeuver.Builder
Number between 0 and 360 indicating the clockwise angle from true north to the direction of travel right after the maneuver.
bearingBefore() - Method in class com.mapbox.api.directions.v5.models.StepManeuver
Number between 0 and 360 indicating the clockwise angle from true north to the direction of travel right before the maneuver.
bearingBefore(Double) - Method in class com.mapbox.api.directions.v5.models.StepManeuver.Builder
Number between 0 and 360 indicating the clockwise angle from true north to the direction of travel right before the maneuver.
bearings() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
The same bearings which were used during the request that resulted in this root directions response.
bearings(String) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
The bearing values the user used for the original request which resulted in this response.
bearings() - Method in class com.mapbox.api.directions.v5.models.StepIntersection
An integer list of bearing values available at the step intersection.
bearings(List<Integer>) - Method in class com.mapbox.api.directions.v5.models.StepIntersection.Builder
An integer array of bearing values available at the step intersection.
beforeLayer(String) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
String value for controlling where the overlay is inserted in the style.
boundingBox(BoundingBox) - Method in class com.mapbox.api.routetiles.v1.MapboxRouteTiles.Builder
The bounding box of which to download map route tiles.
build() - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
This uses the provided parameters set using the MapboxDirections.Builder and first checks that all values are valid, formats the values as strings for easier consumption by the API, and lastly creates a new MapboxDirections object with the values provided.
build() - Method in class com.mapbox.api.directions.v5.models.BannerComponents.Builder
Build a new BannerComponents object.
build() - Method in class com.mapbox.api.directions.v5.models.BannerInstructions.Builder
Build a new BannerInstructions object.
build() - Method in class com.mapbox.api.directions.v5.models.BannerText.Builder
Build a new BannerText object.
build() - Method in class com.mapbox.api.directions.v5.models.DirectionsError.Builder
Build a new DirectionsError object.
build() - Method in class com.mapbox.api.directions.v5.models.DirectionsResponse.Builder
Build a new DirectionsResponse object.
build() - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute.Builder
Build a new DirectionsRoute object.
build() - Method in class com.mapbox.api.directions.v5.models.DirectionsWaypoint.Builder
Build a new DirectionsWaypoint object.
build() - Method in class com.mapbox.api.directions.v5.models.IntersectionLanes.Builder
Build a new IntersectionLanes object.
build() - Method in class com.mapbox.api.directions.v5.models.LegAnnotation.Builder
Build a new LegAnnotation object.
build() - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
Build a new LegStep object.
build() - Method in class com.mapbox.api.directions.v5.models.MaxSpeed.Builder
Build a new MaxSpeed object.
build() - Method in class com.mapbox.api.directions.v5.models.RouteLeg.Builder
Build a new RouteLeg object.
build() - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
Builds a new instance of the RouteOptions object.
build() - Method in class com.mapbox.api.directions.v5.models.StepIntersection.Builder
Build a new StepIntersection object.
build() - Method in class com.mapbox.api.directions.v5.models.StepManeuver.Builder
Build a new StepManeuver object.
build() - Method in class com.mapbox.api.directions.v5.models.VoiceInstructions.Builder
This uses the provided parameters set using the VoiceInstructions.Builder and creates a new instance of VoiceInstructions.
build() - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
Build a new MapboxGeocoding object.
build() - Method in class com.mapbox.api.geocoding.v5.models.CarmenContext.Builder
Build a new CarmenContext object.
build() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature.Builder
Build a new CarmenFeature object.
build() - Method in class com.mapbox.api.geocoding.v5.models.GeocodingResponse.Builder
Build a new GeocodingResponse object.
build() - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
This uses the provided parameters set using the MapboxMapMatching.Builder and first checks that all values are valid, formats the values as strings for easier consumption by the API, and lastly creates a new MapboxMapMatching object with the values provided.
build() - Method in class com.mapbox.api.matching.v5.models.MapMatchingError.Builder
Build a new MapMatchingError object.
build() - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching.Builder
Build a new MapMatchingMatching object.
build() - Method in class com.mapbox.api.matching.v5.models.MapMatchingResponse.Builder
Build a new MapMatchingResponse object.
build() - Method in class com.mapbox.api.matching.v5.models.MapMatchingTracepoint.Builder
Build a new MapMatchingTracepoint object.
build() - Method in class com.mapbox.api.matrix.v1.MapboxMatrix.Builder
This uses the provided parameters set using the MapboxMatrix.Builder and first checks that all values are valid, formats the values as strings for easier consumption by the API, and lastly creates a new MapboxMatrix object with the values provided.
build() - Method in class com.mapbox.api.matrix.v1.models.MatrixResponse.Builder
Build a new MatrixResponse object.
build() - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
This uses the provided parameters set using the MapboxOptimization.Builder and first checks that all values are valid, formats the values as strings for easier consumption by the API, and lastly creates a new MapboxOptimization object with the values provided.
build() - Method in class com.mapbox.api.optimization.v1.models.OptimizationResponse.Builder
Build a new OptimizationResponse object.
build() - Method in class com.mapbox.api.optimization.v1.models.OptimizationWaypoint.Builder
Build a new OptimizationResponse object.
build() - Method in class com.mapbox.api.routetiles.v1.MapboxRouteTiles.Builder
This uses the provided parameters set using the MapboxRouteTiles.Builder and first checks that all values are valid, and creates a new MapboxRouteTiles object with the values provided.
build() - Method in class com.mapbox.api.routetiles.v1.versions.MapboxRouteTileVersions.Builder
This uses the provided parameters set using the MapboxRouteTileVersions.Builder and first checks that all values are valid, and creates a new MapboxRouteTileVersions object with the values provided.
build() - Method in class com.mapbox.api.speech.v1.MapboxSpeech.Builder
This uses the provided parameters set using the MapboxSpeech.Builder and first checks that all values are valid, formats the values as strings for easier consumption by the API, and lastly creates a new MapboxSpeech object with the values provided.
build() - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
This uses the provided parameters set using the MapboxStaticMap.Builder and creates a new MapboxStaticMap object.
build() - Method in class com.mapbox.api.staticmap.v1.models.StaticMarkerAnnotation.Builder
Build a new marker instance and pass it into MapboxStaticMap in order to use it during your Static Map API request.
build() - Method in class com.mapbox.api.staticmap.v1.models.StaticPolylineAnnotation.Builder
This uses the provided parameters set using the StaticPolylineAnnotation.Builder and creates a new StaticMarkerAnnotation object which can be passed into the MapboxStaticMap request.
build() - Method in class com.mapbox.api.tilequery.MapboxTilequery.Builder
Build a new MapboxTilequery object.
builder() - Static method in class com.mapbox.api.directions.v5.MapboxDirections
Builder() - Constructor for class com.mapbox.api.directions.v5.MapboxDirections.Builder
 
builder() - Static method in class com.mapbox.api.directions.v5.models.BannerComponents
Create a new instance of this class by using the BannerComponents.Builder class.
Builder() - Constructor for class com.mapbox.api.directions.v5.models.BannerComponents.Builder
 
builder() - Static method in class com.mapbox.api.directions.v5.models.BannerInstructions
Create a new instance of this class by using the BannerInstructions.Builder class.
Builder() - Constructor for class com.mapbox.api.directions.v5.models.BannerInstructions.Builder
 
builder() - Static method in class com.mapbox.api.directions.v5.models.BannerText
Create a new instance of this class by using the BannerText.Builder class.
Builder() - Constructor for class com.mapbox.api.directions.v5.models.BannerText.Builder
 
builder() - Static method in class com.mapbox.api.directions.v5.models.DirectionsError
Create a new instance of this class by using the DirectionsError.Builder class.
Builder() - Constructor for class com.mapbox.api.directions.v5.models.DirectionsError.Builder
 
builder() - Static method in class com.mapbox.api.directions.v5.models.DirectionsResponse
Create a new instance of this class by using the DirectionsResponse.Builder class.
Builder() - Constructor for class com.mapbox.api.directions.v5.models.DirectionsResponse.Builder
 
builder() - Static method in class com.mapbox.api.directions.v5.models.DirectionsRoute
Create a new instance of this class by using the DirectionsRoute.Builder class.
Builder() - Constructor for class com.mapbox.api.directions.v5.models.DirectionsRoute.Builder
 
builder() - Static method in class com.mapbox.api.directions.v5.models.DirectionsWaypoint
Create a new instance of this class by using the DirectionsWaypoint.Builder class.
Builder() - Constructor for class com.mapbox.api.directions.v5.models.DirectionsWaypoint.Builder
 
builder() - Static method in class com.mapbox.api.directions.v5.models.IntersectionLanes
Create a new instance of this class by using the IntersectionLanes.Builder class.
Builder() - Constructor for class com.mapbox.api.directions.v5.models.IntersectionLanes.Builder
 
builder() - Static method in class com.mapbox.api.directions.v5.models.LegAnnotation
Create a new instance of this class by using the LegAnnotation.Builder class.
Builder() - Constructor for class com.mapbox.api.directions.v5.models.LegAnnotation.Builder
 
builder() - Static method in class com.mapbox.api.directions.v5.models.LegStep
Create a new instance of this class by using the LegStep.Builder class.
Builder() - Constructor for class com.mapbox.api.directions.v5.models.LegStep.Builder
 
builder() - Static method in class com.mapbox.api.directions.v5.models.MaxSpeed
Create a new instance of this class by using the MaxSpeed.Builder class.
Builder() - Constructor for class com.mapbox.api.directions.v5.models.MaxSpeed.Builder
 
builder() - Static method in class com.mapbox.api.directions.v5.models.RouteLeg
Create a new instance of this class by using the RouteLeg.Builder class.
Builder() - Constructor for class com.mapbox.api.directions.v5.models.RouteLeg.Builder
 
builder() - Static method in class com.mapbox.api.directions.v5.models.RouteOptions
Build a new instance of this RouteOptions class optionally settling values.
Builder() - Constructor for class com.mapbox.api.directions.v5.models.RouteOptions.Builder
 
builder() - Static method in class com.mapbox.api.directions.v5.models.StepIntersection
Create a new instance of this class by using the StepIntersection.Builder class.
Builder() - Constructor for class com.mapbox.api.directions.v5.models.StepIntersection.Builder
 
builder() - Static method in class com.mapbox.api.directions.v5.models.StepManeuver
Create a new instance of this class by using the StepManeuver.Builder class.
Builder() - Constructor for class com.mapbox.api.directions.v5.models.StepManeuver.Builder
 
builder() - Static method in class com.mapbox.api.directions.v5.models.VoiceInstructions
Create a new instance of this class by using the VoiceInstructions.Builder class.
Builder() - Constructor for class com.mapbox.api.directions.v5.models.VoiceInstructions.Builder
 
builder() - Static method in class com.mapbox.api.geocoding.v5.MapboxGeocoding
Build a new MapboxGeocoding object with the initial values set for MapboxGeocoding.baseUrl() and MapboxGeocoding.mode().
Builder() - Constructor for class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
 
builder() - Static method in class com.mapbox.api.geocoding.v5.models.CarmenContext
Create a new instance of this class by using the CarmenContext.Builder class.
Builder() - Constructor for class com.mapbox.api.geocoding.v5.models.CarmenContext.Builder
 
builder() - Static method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
Create a new instance of this class by using the CarmenFeature.Builder class.
Builder() - Constructor for class com.mapbox.api.geocoding.v5.models.CarmenFeature.Builder
 
builder() - Static method in class com.mapbox.api.geocoding.v5.models.GeocodingResponse
Create a new instance of this class by using the GeocodingResponse.Builder class.
Builder() - Constructor for class com.mapbox.api.geocoding.v5.models.GeocodingResponse.Builder
 
builder() - Static method in class com.mapbox.api.matching.v5.MapboxMapMatching
Builder() - Constructor for class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
 
builder() - Static method in class com.mapbox.api.matching.v5.models.MapMatchingError
Create a new instance of this class by using the MapMatchingError.Builder class.
Builder() - Constructor for class com.mapbox.api.matching.v5.models.MapMatchingError.Builder
 
builder() - Static method in class com.mapbox.api.matching.v5.models.MapMatchingMatching
Create a new instance of this class by using the MapMatchingMatching.Builder class.
Builder() - Constructor for class com.mapbox.api.matching.v5.models.MapMatchingMatching.Builder
 
builder() - Static method in class com.mapbox.api.matching.v5.models.MapMatchingResponse
Create a new instance of this class by using the MapMatchingResponse.Builder class.
Builder() - Constructor for class com.mapbox.api.matching.v5.models.MapMatchingResponse.Builder
 
builder() - Static method in class com.mapbox.api.matching.v5.models.MapMatchingTracepoint
Create a new instance of this class by using the MapMatchingTracepoint.Builder class.
Builder() - Constructor for class com.mapbox.api.matching.v5.models.MapMatchingTracepoint.Builder
 
builder() - Static method in class com.mapbox.api.matrix.v1.MapboxMatrix
Build a new MapboxMatrix object with the initial values set for MapboxMatrix.baseUrl(), MapboxMatrix.profile(), and MapboxMatrix.user().
Builder() - Constructor for class com.mapbox.api.matrix.v1.MapboxMatrix.Builder
 
builder() - Static method in class com.mapbox.api.matrix.v1.models.MatrixResponse
Create a new instance of this class using the MatrixResponse.Builder which provides a to pass in variables which define the instance.
Builder() - Constructor for class com.mapbox.api.matrix.v1.models.MatrixResponse.Builder
 
builder() - Static method in class com.mapbox.api.optimization.v1.MapboxOptimization
Builder() - Constructor for class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
 
builder() - Static method in class com.mapbox.api.optimization.v1.models.OptimizationResponse
Create a new instance of this class by using the OptimizationResponse.Builder class.
Builder() - Constructor for class com.mapbox.api.optimization.v1.models.OptimizationResponse.Builder
 
builder() - Static method in class com.mapbox.api.optimization.v1.models.OptimizationWaypoint
Create a new instance of this class by using the OptimizationWaypoint.Builder class.
Builder() - Constructor for class com.mapbox.api.optimization.v1.models.OptimizationWaypoint.Builder
 
builder() - Static method in class com.mapbox.api.routetiles.v1.MapboxRouteTiles
Build a new MapboxRouteTiles object.
Builder() - Constructor for class com.mapbox.api.routetiles.v1.MapboxRouteTiles.Builder
 
builder() - Static method in class com.mapbox.api.routetiles.v1.versions.MapboxRouteTileVersions
Build a new MapboxRouteTileVersions object.
Builder() - Constructor for class com.mapbox.api.routetiles.v1.versions.MapboxRouteTileVersions.Builder
 
builder() - Static method in class com.mapbox.api.speech.v1.MapboxSpeech
Creates a builder for a MapboxSpeech object with a default cache size of 10 MB.
Builder() - Constructor for class com.mapbox.api.speech.v1.MapboxSpeech.Builder
 
builder() - Static method in class com.mapbox.api.staticmap.v1.MapboxStaticMap
Builder() - Constructor for class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
 
builder() - Static method in class com.mapbox.api.staticmap.v1.models.StaticMarkerAnnotation
Build a new StaticMarkerAnnotation object with the initial values set for the StaticMarkerAnnotation.name() to StaticMapCriteria.MEDIUM_PIN.
Builder() - Constructor for class com.mapbox.api.staticmap.v1.models.StaticMarkerAnnotation.Builder
 
builder() - Static method in class com.mapbox.api.staticmap.v1.models.StaticPolylineAnnotation
Build a new StaticPolylineAnnotation object.
Builder() - Constructor for class com.mapbox.api.staticmap.v1.models.StaticPolylineAnnotation.Builder
 
builder() - Static method in class com.mapbox.api.tilequery.MapboxTilequery
Build a new MapboxTilequery object with the initial value set for MapboxTilequery.baseUrl().
Builder() - Constructor for class com.mapbox.api.tilequery.MapboxTilequery.Builder
 

C

cache(Cache) - Method in class com.mapbox.api.speech.v1.MapboxSpeech.Builder
Adds an optional cache to set in the OkHttp client.
cameraAuto(boolean) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
If auto is set to true, the viewport will fit the bounds of the overlay.
cameraBearing(double) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
Optionally, bearing rotates the map around its center defined point given in MapboxStaticMap.Builder.cameraPoint(Point).
cameraPitch(double) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
Optionally, pitch tilts the map, producing a perspective effect.
cameraPoint(Point) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
Center point where the camera will be focused on.
cameraZoom(double) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
Static maps camera zoom level.
cancelBatchCall() - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding
Wrapper method for Retrofits Call.cancel() call, important to manually cancel call if the user dismisses the calling activity or no longer needs the returned results.
cancelBatchCall() - Method in class com.mapbox.api.tilequery.MapboxTilequery
Wrapper method for Retrofit's Call.cancel() call, important to manually cancel call if the user dismisses the calling activity or no longer needs the returned results.
CarmenContext - Class in com.mapbox.api.geocoding.v5.models
Array representing a hierarchy of parents.
CarmenContext() - Constructor for class com.mapbox.api.geocoding.v5.models.CarmenContext
 
CarmenContext.Builder - Class in com.mapbox.api.geocoding.v5.models
This builder can be used to set the values describing the CarmenFeature.
CarmenFeature - Class in com.mapbox.api.geocoding.v5.models
The Features key in the geocoding API response contains the majority of information you'll want to use.
CarmenFeature() - Constructor for class com.mapbox.api.geocoding.v5.models.CarmenFeature
 
CarmenFeature.Builder - Class in com.mapbox.api.geocoding.v5.models
This builder can be used to set the values describing the CarmenFeature.
category(String) - Method in class com.mapbox.api.geocoding.v5.models.CarmenContext.Builder
provides the categories that define this features POI if applicable.
category() - Method in class com.mapbox.api.geocoding.v5.models.CarmenContext
provides the categories that define this features POI if applicable.
center() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
A Point object which represents the center point inside the CarmenFeature.bbox() if one is provided.
classes(List<String>) - Method in class com.mapbox.api.directions.v5.models.StepIntersection.Builder
A list of strings signifying the classes of the road exiting the intersection.
classes() - Method in class com.mapbox.api.directions.v5.models.StepIntersection
A list of strings signifying the classes of the road exiting the intersection.
clientAppName(String) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Base package name or other simple string identifier.
clientAppName(String) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
Base package name or other simple string identifier.
clientAppName(String) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Base package name or other simple string identifier.
clientAppName(String) - Method in class com.mapbox.api.matrix.v1.MapboxMatrix.Builder
Base package name or other simple string identifier.
clientAppName(String) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
Base package name or other simple string identifier.
clientAppName(String) - Method in class com.mapbox.api.routetiles.v1.MapboxRouteTiles.Builder
Base package name or other simple string identifier.
clientAppName(String) - Method in class com.mapbox.api.routetiles.v1.versions.MapboxRouteTileVersions.Builder
Base package name or other simple string identifier.
cloneBatchCall() - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding
Wrapper method for Retrofits Call.clone() call, useful for getting call information.
cloneBatchCall() - Method in class com.mapbox.api.tilequery.MapboxTilequery
Wrapper method for Retrofit's Call.clone() call, useful for getting call information.
code(String) - Method in class com.mapbox.api.directions.v5.models.DirectionsError.Builder
String indicating the state of the response.
code() - Method in class com.mapbox.api.directions.v5.models.DirectionsError
String indicating the state of the response.
code(String) - Method in class com.mapbox.api.directions.v5.models.DirectionsResponse.Builder
String indicating the state of the response.
code() - Method in class com.mapbox.api.directions.v5.models.DirectionsResponse
String indicating the state of the response.
code(String) - Method in class com.mapbox.api.matching.v5.models.MapMatchingError.Builder
String indicating the state of the response.
code() - Method in class com.mapbox.api.matching.v5.models.MapMatchingError
String indicating the state of the response.
code(String) - Method in class com.mapbox.api.matching.v5.models.MapMatchingResponse.Builder
A string depicting the state of the response.
code() - Method in class com.mapbox.api.matching.v5.models.MapMatchingResponse
A string depicting the state of the response.
code(String) - Method in class com.mapbox.api.matrix.v1.models.MatrixResponse.Builder
String indicating the state of the response.
code() - Method in class com.mapbox.api.matrix.v1.models.MatrixResponse
String indicating the state of the response.
code(String) - Method in class com.mapbox.api.optimization.v1.models.OptimizationResponse.Builder
String indicating the state of the response.
code() - Method in class com.mapbox.api.optimization.v1.models.OptimizationResponse
String indicating the state of the response.
color(String) - Method in class com.mapbox.api.staticmap.v1.models.StaticMarkerAnnotation.Builder
A hex representation of the markers color.
color(int, int, int) - Method in class com.mapbox.api.staticmap.v1.models.StaticMarkerAnnotation.Builder
A hex representation of the markers color.
com.mapbox.api.directions.v5 - package com.mapbox.api.directions.v5
Contains classes for accessing the Mapbox Directions API.
com.mapbox.api.directions.v5.models - package com.mapbox.api.directions.v5.models
Contains the model classes which represent the Directions API response.
com.mapbox.api.geocoding.v5 - package com.mapbox.api.geocoding.v5
Contains the Mapbox Java Services classes related to the Mapbox Geocoding API.
com.mapbox.api.geocoding.v5.models - package com.mapbox.api.geocoding.v5.models
Contains the Geocoding Response model classes which are useful when working with the requested results.
com.mapbox.api.matching.v5 - package com.mapbox.api.matching.v5
Contains the Mapbox Java Services wrapper for the Map Matching API.
com.mapbox.api.matching.v5.models - package com.mapbox.api.matching.v5.models
Contains the Mapbox Matching response model classes.
com.mapbox.api.matrix.v1 - package com.mapbox.api.matrix.v1
Contains the Mapbox Java Services classes for Matrix API.
com.mapbox.api.matrix.v1.models - package com.mapbox.api.matrix.v1.models
Contains the Mapbox Matrix response model classes.
com.mapbox.api.optimization.v1 - package com.mapbox.api.optimization.v1
Contains classes for accessing the Mapbox Optimization API.
com.mapbox.api.optimization.v1.models - package com.mapbox.api.optimization.v1.models
Contains the model classes which represent the Optimization API response.
com.mapbox.api.routetiles.v1 - package com.mapbox.api.routetiles.v1
Contains classes for accessing the Mapbox route tiles API.
com.mapbox.api.routetiles.v1.versions - package com.mapbox.api.routetiles.v1.versions
Contains classes for accessing the Mapbox route tile versions API.
com.mapbox.api.routetiles.v1.versions.models - package com.mapbox.api.routetiles.v1.versions.models
Contains the Mapbox Route Tile Versions response model classes.
com.mapbox.api.speech.v1 - package com.mapbox.api.speech.v1
Contains the Mapbox Java Services wrapper for the Speech API.
com.mapbox.api.staticmap.v1 - package com.mapbox.api.staticmap.v1
Contains the builders for Mapbox Static Map API.
com.mapbox.api.staticmap.v1.models - package com.mapbox.api.staticmap.v1.models
Package containing all the Static Map annotations avaliable.
com.mapbox.api.tilequery - package com.mapbox.api.tilequery
Contains the Mapbox Java Services classes related to the Mapbox Tilequery API.
compareTo(BannerComponents) - Method in class com.mapbox.api.directions.v5.models.BannerComponents
Allows ability to sort/compare by abbreviation priority.
components(List<BannerComponents>) - Method in class com.mapbox.api.directions.v5.models.BannerText.Builder
A part or element of the BannerInstructions.
components() - Method in class com.mapbox.api.directions.v5.models.BannerText
A part or element of the BannerInstructions.
confidence(double) - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching.Builder
A number between 0 (low) and 1 (high) indicating level of confidence in the returned match.
confidence() - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching
A number between 0 (low) and 1 (high) indicating level of confidence in the returned match.
congestion(List<String>) - Method in class com.mapbox.api.directions.v5.models.LegAnnotation.Builder
The congestion between each pair of coordinates.
congestion() - Method in class com.mapbox.api.directions.v5.models.LegAnnotation
The congestion between each pair of coordinates.
context(List<CarmenContext>) - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature.Builder
A list representing the hierarchy of encompassing parent features.
context() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
A list representing the hierarchy of encompassing parent features.
CONTINUE - Static variable in class com.mapbox.api.directions.v5.models.StepManeuver
Continue on a street after a turn.
continueStraight(Boolean) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Sets allowed direction of travel when departing intermediate waypoints.
continueStraight(Boolean) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
Whether the original request wanted continueStraight enabled or not.
continueStraight() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
The same continueStraight setting which was used during the request that resulted in this root directions response.
coordinate(Point) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
This will add a single Point to the coordinate list which is used to determine the duration between points.
coordinate(Point) - Method in class com.mapbox.api.matrix.v1.MapboxMatrix.Builder
This will add a single Point to the coordinate list which is used to determine the duration between points.
coordinate(Point) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
This will add a single Point to the coordinate list which is used to determine the most optimal route.
coordinates(List<Point>) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
The coordinates used for the routes origin, destination, and optionally, waypoints.
coordinates() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
The coordinates used for the routes origin, destination, and optionally, waypoints.
coordinates(List<Point>) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Add a list of Point's which define the points to perform the map matching on.
coordinates(String) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
 
coordinates(List<Point>) - Method in class com.mapbox.api.matrix.v1.MapboxMatrix.Builder
Add a list of Point's which define the points to perform the matrix on.
coordinates(List<Point>) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
Add a list of Point's which define the route which will become optimized.
country(Locale) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
Add a single country locale to restrict the results.
country(String...) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
Limit results to one or more countries.
country(String) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
Limit results to one or more countries.
create() - Static method in class com.mapbox.api.directions.v5.DirectionsAdapterFactory
Creates a TypeAdapter that AutoValues uses to generate specific type adapters when needed inside the direction package classes.
create() - Static method in class com.mapbox.api.geocoding.v5.models.GeocodingAdapterFactory
Create a new instance of this Geocoding type adapter factory, this is passed into the Gson Builder.
create() - Static method in class com.mapbox.api.matching.v5.models.MapMatchingAdapterFactory
Create a new instance of this MapMatching type adapter factory, this is passed into the Gson Builder.
create() - Static method in class com.mapbox.api.matrix.v1.MatrixAdapterFactory
Creates a TypeAdapter that AutoValues uses to generate specific type adapters when needed inside the matrix package classes.
create() - Static method in class com.mapbox.api.optimization.v1.models.OptimizationAdapterFactory
Creates a TypeAdapter that AutoValues uses to generate specific type adapters when needed inside the optimization package classes.
create() - Static method in class com.mapbox.api.routetiles.v1.versions.models.RouteTileVersionsAdapterFactory
Creates a TypeAdapter that AutoValues uses to generate specific type adapters when needed inside the direction package classes.
create(List<String>) - Method in class com.mapbox.api.routetiles.v1.versions.models.RouteTileVersionsResponse
Build a new RouteTileVersionsResponse object.

D

DARK_STYLE - Static variable in class com.mapbox.api.staticmap.v1.StaticMapCriteria
Mapbox Dark style's a subtle, full-featured map designed to provide geographic context while highlighting the data on your analytics dashboard, data visualization, or data overlay.
dedupe(Boolean) - Method in class com.mapbox.api.tilequery.MapboxTilequery.Builder
Determines whether results will be deduplicated or not.
degrees(Double) - Method in class com.mapbox.api.directions.v5.models.BannerText.Builder
The degrees at which you will be exiting a roundabout, assuming `180` indicates going straight through the roundabout.
degrees() - Method in class com.mapbox.api.directions.v5.models.BannerText
The degrees at which you will be exiting a roundabout, assuming `180` indicates going straight through the roundabout.
DEPART - Static variable in class com.mapbox.api.directions.v5.models.StepManeuver
Indicates departure from a leg.
destination(Point) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
This sets the ending point on the map where the route will end.
destination(String) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
DESTINATION_ANY - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
Returned route ends at any of the provided coordinate in the list.
DESTINATION_LAST - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
Returned route ends at the last provided coordinate in the list.
destinations(String) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
String with the destinations of the way along which the travel proceeds.
destinations() - Method in class com.mapbox.api.directions.v5.models.LegStep
String with the destinations of the way along which the travel proceeds.
destinations(Integer...) - Method in class com.mapbox.api.matrix.v1.MapboxMatrix.Builder
Optionally pass in indexes to generate an asymmetric matrix.
destinations(List<DirectionsWaypoint>) - Method in class com.mapbox.api.matrix.v1.models.MatrixResponse.Builder
List of DirectionsWaypoint objects.
destinations() - Method in class com.mapbox.api.matrix.v1.models.MatrixResponse
List of DirectionsWaypoint objects.
directions(List<String>) - Method in class com.mapbox.api.directions.v5.models.BannerComponents.Builder
A List of directions indicating which way you can go from a lane (left, right, or straight).
directions() - Method in class com.mapbox.api.directions.v5.models.BannerComponents
A List of directions indicating which way you can go from a lane (left, right, or straight).
DirectionsAdapterFactory - Class in com.mapbox.api.directions.v5
Required so that AutoValue can generate specific type adapters when needed inside the direction packages.
DirectionsAdapterFactory() - Constructor for class com.mapbox.api.directions.v5.DirectionsAdapterFactory
 
DirectionsCriteria - Class in com.mapbox.api.directions.v5
Constants and properties used to customize the directions request.
DirectionsCriteria.AnnotationCriteria - Annotation Type in com.mapbox.api.directions.v5
Retention policy for the various direction annotations.
DirectionsCriteria.ApproachesCriteria - Annotation Type in com.mapbox.api.directions.v5
Retention policy for the approaches parameter in the MapMatching and Directions API.
DirectionsCriteria.DestinationCriteria - Annotation Type in com.mapbox.api.directions.v5
Retention policy for the destination parameter in the Optimization API.
DirectionsCriteria.ExcludeCriteria - Annotation Type in com.mapbox.api.directions.v5
Retention policy for the various direction exclusions.
DirectionsCriteria.GeometriesCriteria - Annotation Type in com.mapbox.api.directions.v5
Retention policy for the various direction geometries.
DirectionsCriteria.OverviewCriteria - Annotation Type in com.mapbox.api.directions.v5
Retention policy for the various direction overviews.
DirectionsCriteria.ProfileCriteria - Annotation Type in com.mapbox.api.directions.v5
Retention policy for the various direction profiles.
DirectionsCriteria.SourceCriteria - Annotation Type in com.mapbox.api.directions.v5
Retention policy for the source parameter in the Optimization API.
DirectionsCriteria.VoiceUnitCriteria - Annotation Type in com.mapbox.api.directions.v5
Retention policy for the various units of measurements.
DirectionsError - Class in com.mapbox.api.directions.v5.models
If an InvalidInput error is thrown, this class can be used to get both the code and the message which holds an explanation of the invalid input.
DirectionsError() - Constructor for class com.mapbox.api.directions.v5.models.DirectionsError
 
DirectionsError.Builder - Class in com.mapbox.api.directions.v5.models
This builder can be used to set the values describing the DirectionsError.
DirectionsJsonObject - Class in com.mapbox.api.directions.v5.models
Provideds a base class for Directions model classes.
DirectionsJsonObject() - Constructor for class com.mapbox.api.directions.v5.models.DirectionsJsonObject
 
DirectionsResponse - Class in com.mapbox.api.directions.v5.models
This is the root Mapbox Directions API response.
DirectionsResponse() - Constructor for class com.mapbox.api.directions.v5.models.DirectionsResponse
 
DirectionsResponse.Builder - Class in com.mapbox.api.directions.v5.models
This builder can be used to set the values describing the DirectionsResponse.
DirectionsRoute - Class in com.mapbox.api.directions.v5.models
Detailed information about an individual route such as the duration, distance and geometry.
DirectionsRoute() - Constructor for class com.mapbox.api.directions.v5.models.DirectionsRoute
 
DirectionsRoute.Builder - Class in com.mapbox.api.directions.v5.models
This builder can be used to set the values describing the DirectionsRoute.
DirectionsService - Interface in com.mapbox.api.directions.v5
Interface that defines the directions service (v5).
DirectionsWaypoint - Class in com.mapbox.api.directions.v5.models
An input coordinate snapped to the roads network.
DirectionsWaypoint() - Constructor for class com.mapbox.api.directions.v5.models.DirectionsWaypoint
 
DirectionsWaypoint.Builder - Class in com.mapbox.api.directions.v5.models
This builder can be used to set the values describing the DirectionsWaypoint.
distance(Double) - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute.Builder
The distance traveled from origin to destination.
distance() - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute
The distance traveled from origin to destination.
distance(List<Double>) - Method in class com.mapbox.api.directions.v5.models.LegAnnotation.Builder
The distance, in meters, between each pair of coordinates.
distance() - Method in class com.mapbox.api.directions.v5.models.LegAnnotation
The distance, in meters, between each pair of coordinates.
distance(double) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
The distance traveled from the maneuver to the next LegStep.
distance() - Method in class com.mapbox.api.directions.v5.models.LegStep
The distance traveled from the maneuver to the next LegStep.
distance(Double) - Method in class com.mapbox.api.directions.v5.models.RouteLeg.Builder
The distance traveled from one waypoint to another.
distance() - Method in class com.mapbox.api.directions.v5.models.RouteLeg
The distance traveled from one waypoint to another.
distance(double) - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching.Builder
The distance traveled from origin to destination.
distance() - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching
The distance traveled from origin to destination.
distanceAlongGeometry(double) - Method in class com.mapbox.api.directions.v5.models.BannerInstructions.Builder
Distance in meters from the beginning of the step at which the visual instruction should be visible.
distanceAlongGeometry() - Method in class com.mapbox.api.directions.v5.models.BannerInstructions
Distance in meters from the beginning of the step at which the visual instruction should be visible.
distanceAlongGeometry(Double) - Method in class com.mapbox.api.directions.v5.models.VoiceInstructions.Builder
Returns the missing piece in which is needed to announce instructions at accurate times.
distanceAlongGeometry() - Method in class com.mapbox.api.directions.v5.models.VoiceInstructions
This provides the missing piece in which is needed to announce instructions at accurate times.
distances(List<Double[]>) - Method in class com.mapbox.api.matrix.v1.models.MatrixResponse.Builder
Distances as a list of arrays representing the matrix in row-major order.
distances() - Method in class com.mapbox.api.matrix.v1.models.MatrixResponse
Distances as a list of arrays representing the matrix in row-major order.
distribution(Integer, Integer) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
Specify pick-up and drop-off locations for a trip by providing a pickup and dropOff value correspond with the coordinates list.
drivingSide(String) - Method in class com.mapbox.api.directions.v5.models.BannerText.Builder
A string representing which side the of the street people drive on in that location.
drivingSide() - Method in class com.mapbox.api.directions.v5.models.BannerText
A string representing which side the of the street people drive on in that location.
drivingSide(String) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
The legal driving side at the location for this step.
drivingSide() - Method in class com.mapbox.api.directions.v5.models.LegStep
The legal driving side at the location for this step.
duration(Double) - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute.Builder
The estimated travel time from origin to destination.
duration() - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute
The estimated travel time from origin to destination.
duration(List<Double>) - Method in class com.mapbox.api.directions.v5.models.LegAnnotation.Builder
The speed, in meters per second, between each pair of coordinates.
duration() - Method in class com.mapbox.api.directions.v5.models.LegAnnotation
The speed, in meters per second, between each pair of coordinates.
duration(double) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
The estimated travel time from the maneuver to the next LegStep.
duration() - Method in class com.mapbox.api.directions.v5.models.LegStep
The estimated travel time from the maneuver to the next LegStep.
duration(Double) - Method in class com.mapbox.api.directions.v5.models.RouteLeg.Builder
The estimated travel time from one waypoint to another.
duration() - Method in class com.mapbox.api.directions.v5.models.RouteLeg
The estimated travel time from one waypoint to another.
duration(double) - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching.Builder
The estimated travel time from origin to destination.
duration() - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching
The estimated travel time from origin to destination.
durations(List<Double[]>) - Method in class com.mapbox.api.matrix.v1.models.MatrixResponse.Builder
Durations as array of arrays representing the matrix in row-major order.
durations() - Method in class com.mapbox.api.matrix.v1.models.MatrixResponse
Durations as a list of arrays representing the matrix in row-major order.

E

END_OF_ROAD - Static variable in class com.mapbox.api.directions.v5.models.StepManeuver
Road ends in a T intersection.
enqueueBatchCall(Callback<List<GeocodingResponse>>) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding
Wrapper method for Retrofits Call.enqueue(Callback) call returning a batch response specific to the Geocoding batch API.
enqueueBatchCall(Callback<List<FeatureCollection>>) - Method in class com.mapbox.api.tilequery.MapboxTilequery
Wrapper method for Retrofit's Call.enqueue(Callback) call returning a batch response specific to the Tilequery batch API.
enqueueCall(Callback<DirectionsResponse>) - Method in class com.mapbox.api.directions.v5.MapboxDirections
Wrapper method for Retrofits Call.enqueue(Callback) call returning a response specific to the Directions API.
enqueueCall(Callback<MapMatchingResponse>) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching
Wrapper method for Retrofits Call.enqueue(Callback) call returning a response specific to the Map Matching API.
entry(List<Boolean>) - Method in class com.mapbox.api.directions.v5.models.StepIntersection.Builder
A list of entry flags, corresponding in a 1:1 relationship to the bearings.
entry() - Method in class com.mapbox.api.directions.v5.models.StepIntersection
A list of entry flags, corresponding in a 1:1 relationship to the bearings.
exclude(String) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Exclude certain road types from routing.
exclude(String) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
The same exclusions the user originally made when the request was made.
exclude() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
The same exclusions the user originally made when the request was made.
EXCLUDE_FERRY - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
Exclude all ferries along the returned directions route.
EXCLUDE_MOTORWAY - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
Exclude all motorways along the returned directions route.
EXCLUDE_RESTRICTED - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
Exclude all roads with access restrictions along the returned directions route.
EXCLUDE_TOLL - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
Exclude all tolls along the returned directions route.
EXCLUDE_TUNNEL - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
Exclude all tunnels along the returned directions route.
executeBatchCall() - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding
Wrapper method for Retrofits Call.execute() call returning a batch response specific to the Geocoding API.
executeBatchCall() - Method in class com.mapbox.api.tilequery.MapboxTilequery
Wrapper method for Retrofit's Call.execute() call returning a batch response specific to the Tilequery API.
executeCall() - Method in class com.mapbox.api.directions.v5.MapboxDirections
Wrapper method for Retrofits Call.execute() call returning a response specific to the Directions API.
executeCall() - Method in class com.mapbox.api.matching.v5.MapboxMapMatching
Wrapper method for Retrofits Call.execute() call returning a response specific to the Map Matching API.
exit(Integer) - Method in class com.mapbox.api.directions.v5.models.StepManeuver.Builder
An optional integer indicating number of the exit to take.
exit() - Method in class com.mapbox.api.directions.v5.models.StepManeuver
An optional integer indicating number of the exit to take.
EXIT_ROTARY - Static variable in class com.mapbox.api.directions.v5.models.StepManeuver
Indicates the exit maneuver from a rotary.
EXIT_ROUNDABOUT - Static variable in class com.mapbox.api.directions.v5.models.StepManeuver
Indicates the exit maneuver from a roundabout.
exits(String) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
String with the exit numbers or names of the way.
exits() - Method in class com.mapbox.api.directions.v5.models.LegStep
String with the exit numbers or names of the way.

F

features(List<CarmenFeature>) - Method in class com.mapbox.api.geocoding.v5.models.GeocodingResponse.Builder
A list of the CarmenFeatures which contain the results and are ordered from most relevant to least.
features() - Method in class com.mapbox.api.geocoding.v5.models.GeocodingResponse
A list of the CarmenFeatures which contain the results and are ordered from most relevant to least.
fillColor(String) - Method in class com.mapbox.api.staticmap.v1.models.StaticPolylineAnnotation.Builder
Set the inner line fill color.
fillColor(int, int, int) - Method in class com.mapbox.api.staticmap.v1.models.StaticPolylineAnnotation.Builder
Set the inner line fill color.
fillOpacity(Float) - Method in class com.mapbox.api.staticmap.v1.models.StaticPolylineAnnotation.Builder
Value between 0, completely transparent, and 1, opaque for the line fill.
FORK - Static variable in class com.mapbox.api.directions.v5.models.StepManeuver
Take the left or right side of a fork.
fromJson(String) - Static method in class com.mapbox.api.directions.v5.models.BannerComponents
Create a new instance of this class by passing in a formatted valid JSON String.
fromJson(String) - Static method in class com.mapbox.api.directions.v5.models.BannerInstructions
Create a new instance of this class by passing in a formatted valid JSON String.
fromJson(String) - Static method in class com.mapbox.api.directions.v5.models.BannerText
Create a new instance of this class by passing in a formatted valid JSON String.
fromJson(String) - Static method in class com.mapbox.api.directions.v5.models.DirectionsResponse
Create a new instance of this class by passing in a formatted valid JSON String.
fromJson(String) - Static method in class com.mapbox.api.directions.v5.models.DirectionsRoute
Create a new instance of this class by passing in a formatted valid JSON String.
fromJson(String) - Static method in class com.mapbox.api.directions.v5.models.DirectionsWaypoint
Create a new instance of this class by passing in a formatted valid JSON String.
fromJson(String) - Static method in class com.mapbox.api.directions.v5.models.IntersectionLanes
Create a new instance of this class by passing in a formatted valid JSON String.
fromJson(String) - Static method in class com.mapbox.api.directions.v5.models.LegAnnotation
Create a new instance of this class by passing in a formatted valid JSON String.
fromJson(String) - Static method in class com.mapbox.api.directions.v5.models.LegStep
Create a new instance of this class by passing in a formatted valid JSON String.
fromJson(String) - Static method in class com.mapbox.api.directions.v5.models.MaxSpeed
Create a new instance of this class by passing in a formatted valid JSON String.
fromJson(String) - Static method in class com.mapbox.api.directions.v5.models.RouteLeg
Create a new instance of this class by passing in a formatted valid JSON String.
fromJson(String) - Static method in class com.mapbox.api.directions.v5.models.RouteOptions
Create a new instance of this class by passing in a formatted valid JSON String.
fromJson(String) - Static method in class com.mapbox.api.directions.v5.models.StepIntersection
Create a new instance of this class by passing in a formatted valid JSON String.
fromJson(String) - Static method in class com.mapbox.api.directions.v5.models.StepManeuver
Create a new instance of this class by passing in a formatted valid JSON String.
fromJson(String) - Static method in class com.mapbox.api.directions.v5.models.VoiceInstructions
Create a new instance of this class by passing in a formatted valid JSON String.
fromJson(String) - Static method in class com.mapbox.api.geocoding.v5.models.CarmenContext
Create a CarmenContext object from JSON.
fromJson(String) - Static method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
Create a CarmenFeature object from JSON.
fromJson(String) - Static method in class com.mapbox.api.geocoding.v5.models.GeocodingResponse
Create a new instance of this class by passing in a formatted valid JSON String.
fromJson(String) - Static method in class com.mapbox.api.matching.v5.models.MapMatchingResponse
Create a new instance of this class by passing in a formatted valid JSON String.

G

GeocodingAdapterFactory - Class in com.mapbox.api.geocoding.v5.models
A Geocoding type adapter factory for convenience when using AutoValue and handling serialization/deserialization.
GeocodingAdapterFactory() - Constructor for class com.mapbox.api.geocoding.v5.models.GeocodingAdapterFactory
 
GeocodingCriteria - Class in com.mapbox.api.geocoding.v5
Constants that should be used when requesting geocoding.
GeocodingCriteria.GeocodingModeCriteria - Annotation Type in com.mapbox.api.geocoding.v5
Retention policy for the various geocoding modes.
GeocodingCriteria.GeocodingReverseModeCriteria - Annotation Type in com.mapbox.api.geocoding.v5
Retention policy for reverseMode filter result types.
GeocodingCriteria.GeocodingTypeCriteria - Annotation Type in com.mapbox.api.geocoding.v5
Retention policy for the various filter result types.
GeocodingResponse - Class in com.mapbox.api.geocoding.v5.models
This is the initial object which gets returned when the geocoding request receives a result.
GeocodingResponse() - Constructor for class com.mapbox.api.geocoding.v5.models.GeocodingResponse
 
GeocodingResponse.Builder - Class in com.mapbox.api.geocoding.v5.models
This builder can be used to set the values describing the GeocodingResponse.
GeocodingService - Interface in com.mapbox.api.geocoding.v5
Interface that defines the geocoding service.
geocodingTypes(String...) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
This optionally can be set to filter the results returned back after making your forward or reverse geocoding request.
geoJson(GeoJson) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
GeoJSON object which represents a specific annotation which will be placed on the static map.
geometries(String) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
alter the default geometry being returned for the directions route.
geometries(String) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
alter the default geometry being returned for the directions route.
geometries() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
Geometry type used to make the initial directions request.
geometries(String) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
alter the default geometry being returned for the map matching route.
geometries(String) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
alter the default geometry being returned for the directions route.
geometry(String) - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute.Builder
Gives the geometry of the route.
geometry() - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute
Gives the geometry of the route.
geometry(String) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
Gives the geometry of the leg step.
geometry() - Method in class com.mapbox.api.directions.v5.models.LegStep
Gives the geometry of the leg step.
geometry(Geometry) - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature.Builder
The geometry which makes up this feature.
geometry() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
The geometry which makes up this feature.
geometry(String) - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching.Builder
Gives the geometry of the route.
geometry() - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching
Gives the geometry of the route.
geometry(String) - Method in class com.mapbox.api.tilequery.MapboxTilequery.Builder
Queries for a specific geometry type.
GEOMETRY_POLYLINE - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
Format to return route geometry will be an encoded polyline.
GEOMETRY_POLYLINE6 - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
Format to return route geometry will be an encoded polyline with precision 6.
getBatchCall(String, String, String, String, String, String, String, Boolean, String, String, String, String) - Method in interface com.mapbox.api.geocoding.v5.GeocodingService
Constructs the html call using the information passed in through the MapboxGeocoding.Builder.
getBatchCall(String, String, String, Integer, Integer, Boolean, String, String) - Method in interface com.mapbox.api.tilequery.TilequeryService
Constructs the HTTP request for the specified parameters.
getCall(String, String, String, String, String, Boolean, String, String, String, Boolean, String, Boolean, String, String, Boolean, Boolean, Boolean, String, String, String, String) - Method in interface com.mapbox.api.directions.v5.DirectionsService
Constructs the html call using the information passed in through the MapboxDirections.Builder.
getCall(String, String, String, String, String, String, String, Boolean, String, String, String, String) - Method in interface com.mapbox.api.geocoding.v5.GeocodingService
Constructs the html call using the information passed in through the MapboxGeocoding.Builder.
getCall(String, String, String, String, String, String, String, Boolean, String, String, String, String, Boolean, Boolean, Boolean, Boolean, String, String, String, String) - Method in interface com.mapbox.api.matching.v5.MapMatchingService
Constructs the html call using the information passed in through the MapboxMapMatching.Builder.
getCall(String, String, String, String, String, String, String, String, String) - Method in interface com.mapbox.api.matrix.v1.MatrixService
Call-based interface.
getCall(String, String, String, String, String, Boolean, String, String, Boolean, String, String, String, String, String, String, String) - Method in interface com.mapbox.api.optimization.v1.OptimizationService
 
getCall(String, String, String, String) - Method in interface com.mapbox.api.routetiles.v1.RouteTilesService
Constructs the html call using the informmation passed in through the MapboxRouteTiles.Builder.
getCall(String, String) - Method in interface com.mapbox.api.routetiles.v1.versions.RouteTileVersionsService
 
getCall(String, String, String, String, String) - Method in interface com.mapbox.api.speech.v1.SpeechService
Constructs the html call using the information passed in through the MapboxSpeech.Builder.
getCall(String, String, String, Integer, Integer, Boolean, String, String) - Method in interface com.mapbox.api.tilequery.TilequeryService
Constructs the HTTP request for the specified parameters.
getGsonBuilder() - Method in class com.mapbox.api.directions.v5.MapboxDirections
 
getGsonBuilder() - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding
 
getGsonBuilder() - Method in class com.mapbox.api.matching.v5.MapboxMapMatching
 
getGsonBuilder() - Method in class com.mapbox.api.matrix.v1.MapboxMatrix
 
getGsonBuilder() - Method in class com.mapbox.api.optimization.v1.MapboxOptimization
 
getGsonBuilder() - Method in class com.mapbox.api.routetiles.v1.versions.MapboxRouteTileVersions
 
getGsonBuilder() - Method in class com.mapbox.api.tilequery.MapboxTilequery
 
getOkHttpClient() - Method in class com.mapbox.api.speech.v1.MapboxSpeech
 

H

height(int) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
Height of the image.

I

iconUrl(String) - Method in class com.mapbox.api.staticmap.v1.models.StaticMarkerAnnotation.Builder
a percent-encoded URL for the marker image.
id(String) - Method in class com.mapbox.api.geocoding.v5.models.CarmenContext.Builder
ID of the feature of the form {index}.{id} where index is the id/handle of the data-source that contributed the result.
id() - Method in class com.mapbox.api.geocoding.v5.models.CarmenContext
ID of the feature of the form {index}.{id} where index is the id/handle of the data-source that contributed the result.
id(String) - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature.Builder
A feature may have a commonly used identifier which is either a unique String or number.
id() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
A feature may have a commonly used identifier which is either a unique String or number.
imageBaseUrl(String) - Method in class com.mapbox.api.directions.v5.models.BannerComponents.Builder
In some cases when the LegStep is a highway or major roadway, there might be a shield icon that's included to better identify to your user to roadway.
imageBaseUrl() - Method in class com.mapbox.api.directions.v5.models.BannerComponents
In some cases when the LegStep is a highway or major roadway, there might be a shield icon that's included to better identify to your user to roadway.
IMPERIAL - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
Change the units to imperial for voice and visual information.
in(Integer) - Method in class com.mapbox.api.directions.v5.models.StepIntersection.Builder
Index into bearings/entry array.
in() - Method in class com.mapbox.api.directions.v5.models.StepIntersection
Index into bearings/entry array.
indications(List<String>) - Method in class com.mapbox.api.directions.v5.models.IntersectionLanes.Builder
list that can be made up of multiple signs such as left, right, etc.
indications() - Method in class com.mapbox.api.directions.v5.models.IntersectionLanes
Array that can be made up of multiple signs such as left, right, etc.
initializeCall() - Method in class com.mapbox.api.directions.v5.MapboxDirections
 
initializeCall() - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding
 
initializeCall() - Method in class com.mapbox.api.matching.v5.MapboxMapMatching
 
initializeCall() - Method in class com.mapbox.api.matrix.v1.MapboxMatrix
 
initializeCall() - Method in class com.mapbox.api.optimization.v1.MapboxOptimization
 
initializeCall() - Method in class com.mapbox.api.routetiles.v1.MapboxRouteTiles
 
initializeCall() - Method in class com.mapbox.api.routetiles.v1.versions.MapboxRouteTileVersions
 
initializeCall() - Method in class com.mapbox.api.speech.v1.MapboxSpeech
 
initializeCall() - Method in class com.mapbox.api.tilequery.MapboxTilequery
 
instruction(String) - Method in class com.mapbox.api.directions.v5.models.StepManeuver.Builder
A human-readable instruction of how to execute the returned maneuver.
instruction() - Method in class com.mapbox.api.directions.v5.models.StepManeuver
A human-readable instruction of how to execute the returned maneuver.
instruction(String) - Method in class com.mapbox.api.speech.v1.MapboxSpeech.Builder
Add the instruction text to dictate, either as plain text or ssml.
interceptor(Interceptor) - Method in class com.mapbox.api.speech.v1.MapboxSpeech.Builder
Adds an optional interceptor to set in the OkHttp client.
IntersectionLanes - Class in com.mapbox.api.directions.v5.models
Object representing lanes in an intersection.
IntersectionLanes() - Constructor for class com.mapbox.api.directions.v5.models.IntersectionLanes
 
IntersectionLanes.Builder - Class in com.mapbox.api.directions.v5.models
This builder can be used to set the values describing the IntersectionLanes.
intersections(List<StepIntersection>) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
Provide a list of all the intersections connected to the current way the user is traveling along.
intersections() - Method in class com.mapbox.api.directions.v5.models.LegStep
Provides a list of all the intersections connected to the current way the user is traveling along.

L

label(String) - Method in class com.mapbox.api.staticmap.v1.models.StaticMarkerAnnotation.Builder
Marker symbol.
lanes(List<IntersectionLanes>) - Method in class com.mapbox.api.directions.v5.models.StepIntersection.Builder
Array of lane objects that represent the available turn lanes at the intersection.
lanes() - Method in class com.mapbox.api.directions.v5.models.StepIntersection
Array of lane objects that represent the available turn lanes at the intersection.
language(Locale) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Set the instruction language for the directions request, the default is english.
language(String) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
The language for instructions to be in when the response is given.
language() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
The same language which was used during the request that resulted in this root directions response.
language(String) - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature.Builder
A string of the IETF language tag of the query's primary language.
language() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
A string of the IETF language tag of the query's primary language.
language(Locale) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Set the instruction language for the map matching request, the default is english.
language(String) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Set the instruction language for the map matching request, the default is english.
language(Locale) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
Set the instruction language for the directions request, the default is english.
language(String) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
Set the instruction language for the directions request, the default is english.
language(String) - Method in class com.mapbox.api.speech.v1.MapboxSpeech.Builder
Language of which to request the instructions be spoken.
languages(Locale...) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
This optionally specifies the desired response language for user queries.
languages(String) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
This optionally specifies the desired response language for user queries.
LARGE_PIN - Static variable in class com.mapbox.api.staticmap.v1.StaticMapCriteria
The Static Maps marker shape and size will be large.
layers(String) - Method in class com.mapbox.api.tilequery.MapboxTilequery.Builder
A comma-separated list of layers to query, rather than querying all layers.
LegAnnotation - Class in com.mapbox.api.directions.v5.models
An annotations object that contains additional details about each line segment along the route geometry.
LegAnnotation() - Constructor for class com.mapbox.api.directions.v5.models.LegAnnotation
 
LegAnnotation.Builder - Class in com.mapbox.api.directions.v5.models
This builder can be used to set the values describing the LegAnnotation.
legs(List<RouteLeg>) - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute.Builder
A Leg is a route between only two waypoints.
legs() - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute
A Leg is a route between only two waypoints.
legs(List<RouteLeg>) - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching.Builder
A Leg is a route between only two waypoints.
legs() - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching
A Leg is a route between only two waypoints.
LegStep - Class in com.mapbox.api.directions.v5.models
Includes one StepManeuver object and travel to the following LegStep.
LegStep() - Constructor for class com.mapbox.api.directions.v5.models.LegStep
 
LegStep.Builder - Class in com.mapbox.api.directions.v5.models
This builder can be used to set the values describing the LegStep.
LIGHT_STYLE - Static variable in class com.mapbox.api.staticmap.v1.StaticMapCriteria
Mapbox Light style's a subtle, full-featured map designed to provide geographic context while highlighting the data on your analytics dashboard, data visualization, or data overlay.
limit(int) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
This optionally specifies the maximum number of results to return.
limit(Integer) - Method in class com.mapbox.api.tilequery.MapboxTilequery.Builder
The number of features between 1 - 50 to return.
lnglat(Point) - Method in class com.mapbox.api.staticmap.v1.models.StaticMarkerAnnotation.Builder
Represents where the marker should be shown on the map.
location() - Method in class com.mapbox.api.directions.v5.models.DirectionsWaypoint
A Point representing this waypoint location.
location() - Method in class com.mapbox.api.directions.v5.models.StepIntersection
A Point representing this intersection location.
location() - Method in class com.mapbox.api.directions.v5.models.StepManeuver
A Point representing this intersection location.
location() - Method in class com.mapbox.api.matching.v5.models.MapMatchingTracepoint
A Point representing this waypoint location.
location() - Method in class com.mapbox.api.optimization.v1.models.OptimizationWaypoint
A Point representing this waypoint location.
logo(boolean) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
Optionally, control whether there is a Mapbox logo on the image.

M

maki(String) - Method in class com.mapbox.api.geocoding.v5.models.CarmenContext.Builder
Suggested icon mapping from the most current version of the Maki project for a poi feature, based on its category.
maki() - Method in class com.mapbox.api.geocoding.v5.models.CarmenContext
Suggested icon mapping from the most current version of the Maki project for a poi feature, based on its category.
maneuver(StepManeuver) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
A StepManeuver object that typically represents the first coordinate making up the LegStep.geometry().
maneuver() - Method in class com.mapbox.api.directions.v5.models.LegStep
A StepManeuver object that typically represents the first coordinate making up the LegStep.geometry().
MapboxDirections - Class in com.mapbox.api.directions.v5
The Directions API allows the calculation of routes between coordinates.
MapboxDirections() - Constructor for class com.mapbox.api.directions.v5.MapboxDirections
 
MapboxDirections.Builder - Class in com.mapbox.api.directions.v5
This builder is used to create a new request to the Mapbox Directions API.
MapboxGeocoding - Class in com.mapbox.api.geocoding.v5
This class gives you access to both Mapbox forward and reverse geocoding.
MapboxGeocoding() - Constructor for class com.mapbox.api.geocoding.v5.MapboxGeocoding
 
MapboxGeocoding.Builder - Class in com.mapbox.api.geocoding.v5
This builder is used to create a new request to the Mapbox Geocoding API.
MapboxMapMatching - Class in com.mapbox.api.matching.v5
The Mapbox map matching interface (v5)
MapboxMapMatching() - Constructor for class com.mapbox.api.matching.v5.MapboxMapMatching
 
MapboxMapMatching.Builder - Class in com.mapbox.api.matching.v5
Builds your map matching query by adding parameters.
MapboxMatrix - Class in com.mapbox.api.matrix.v1
the Matrix API returns all travel times between many points.
MapboxMatrix() - Constructor for class com.mapbox.api.matrix.v1.MapboxMatrix
 
MapboxMatrix.Builder - Class in com.mapbox.api.matrix.v1
This builder is used to create a new request to the Mapbox Matrix API.
MapboxOptimization - Class in com.mapbox.api.optimization.v1
The Mapbox Optimization API returns a duration-optimized trip between the input coordinates.
MapboxOptimization() - Constructor for class com.mapbox.api.optimization.v1.MapboxOptimization
 
MapboxOptimization.Builder - Class in com.mapbox.api.optimization.v1
Optimization v1 builder.
MapboxRouteTiles - Class in com.mapbox.api.routetiles.v1
The Route Tiles API allows the download of route tiles for the purpose of offline routing.
MapboxRouteTiles() - Constructor for class com.mapbox.api.routetiles.v1.MapboxRouteTiles
 
MapboxRouteTiles.Builder - Class in com.mapbox.api.routetiles.v1
This builder is used to create a new request to the Mapbox Route Tiles API.
MapboxRouteTileVersions - Class in com.mapbox.api.routetiles.v1.versions
The Route Tile Versions API allows the fetching of all available versions of route tiles currently available.
MapboxRouteTileVersions() - Constructor for class com.mapbox.api.routetiles.v1.versions.MapboxRouteTileVersions
 
MapboxRouteTileVersions.Builder - Class in com.mapbox.api.routetiles.v1.versions
This builder is used to create a new request to the Mapbox Route Tiles API.
MapboxSpeech - Class in com.mapbox.api.speech.v1
The Speech API is a text-to-speech API with a server-side caching layer in front of AWS Polly.
MapboxSpeech() - Constructor for class com.mapbox.api.speech.v1.MapboxSpeech
 
MapboxSpeech.Builder - Class in com.mapbox.api.speech.v1
This builder is used to create a MapboxSpeech instance, with details about how the API calls should be made (input/output format, language, etc.).
MapboxStaticMap - Class in com.mapbox.api.staticmap.v1
Static maps are standalone images that can be displayed in your mobile app without the aid of a mapping library like the Mapbox Android SDK.
MapboxStaticMap() - Constructor for class com.mapbox.api.staticmap.v1.MapboxStaticMap
 
MapboxStaticMap.Builder - Class in com.mapbox.api.staticmap.v1
Static image builder used to customize the image, including location, image width/height, and camera position.
MapboxTilequery - Class in com.mapbox.api.tilequery
The Mapbox Tilequery API allows you to retrieve data about specific features from a vector tileset, based on a given latitude and longitude.
MapboxTilequery() - Constructor for class com.mapbox.api.tilequery.MapboxTilequery
 
MapboxTilequery.Builder - Class in com.mapbox.api.tilequery
This builder is used to create a new request to the Mapbox Tilequery API.
mapIds(String) - Method in class com.mapbox.api.tilequery.MapboxTilequery.Builder
The ID of the map being queried.
MapMatchingAdapterFactory - Class in com.mapbox.api.matching.v5.models
A MapMatching type adapter factory for convenience when using AutoValue and handling serialization/deserialization.
MapMatchingAdapterFactory() - Constructor for class com.mapbox.api.matching.v5.models.MapMatchingAdapterFactory
 
MapMatchingError - Class in com.mapbox.api.matching.v5.models
If an InvalidInput error is thrown, this class can be used to get both the code and the message which holds an explanation of the invalid input.
MapMatchingError() - Constructor for class com.mapbox.api.matching.v5.models.MapMatchingError
 
MapMatchingError.Builder - Class in com.mapbox.api.matching.v5.models
This builder can be used to set the values describing the MapMatchingError.
MapMatchingMatching - Class in com.mapbox.api.matching.v5.models
A match object is a DirectionsRoute object with an additional confidence field.
MapMatchingMatching() - Constructor for class com.mapbox.api.matching.v5.models.MapMatchingMatching
 
MapMatchingMatching.Builder - Class in com.mapbox.api.matching.v5.models
This builder can be used to set the values describing the MapMatchingResponse.
MapMatchingResponse - Class in com.mapbox.api.matching.v5.models
Mapbox map matching API response and convenience getter methods for optional properties.
MapMatchingResponse() - Constructor for class com.mapbox.api.matching.v5.models.MapMatchingResponse
 
MapMatchingResponse.Builder - Class in com.mapbox.api.matching.v5.models
This builder can be used to set the values describing the MapMatchingResponse.
MapMatchingService - Interface in com.mapbox.api.matching.v5
Interface that defines the map matching service.
MapMatchingTracepoint - Class in com.mapbox.api.matching.v5.models
A tracepoint object is DirectionsWaypoint object with two additional fields.
MapMatchingTracepoint() - Constructor for class com.mapbox.api.matching.v5.models.MapMatchingTracepoint
 
MapMatchingTracepoint.Builder - Class in com.mapbox.api.matching.v5.models
This builder can be used to set the values describing the MapMatchingTracepoint.
matchingPlaceName(String) - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature.Builder
A string analogous to the CarmenFeature.placeName() field that more closely matches the query than results in the specified language.
matchingPlaceName() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
A string analogous to the CarmenFeature.placeName() field that more closely matches the query than results in the specified language.
matchings(List<MapMatchingMatching>) - Method in class com.mapbox.api.matching.v5.models.MapMatchingResponse.Builder
List of MapMatchingMatching objects, essentially a DirectionsWaypoint object with the addition of a confidence value.
matchings() - Method in class com.mapbox.api.matching.v5.models.MapMatchingResponse
List of MapMatchingMatching objects, essentially a DirectionsWaypoint object with the addition of a confidence value.
matchingsIndex(Integer) - Method in class com.mapbox.api.matching.v5.models.MapMatchingTracepoint.Builder
Index to the match object in matchings the sub-trace was matched to.
matchingsIndex() - Method in class com.mapbox.api.matching.v5.models.MapMatchingTracepoint
Index to the match object in matchings the sub-trace was matched to.
matchingText(String) - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature.Builder
A string analogous to the CarmenFeature.text() field that more closely matches the query than results in the specified language.
matchingText() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
A string analogous to the CarmenFeature.text() field that more closely matches the query than results in the specified language.
MatrixAdapterFactory - Class in com.mapbox.api.matrix.v1
Required so that AutoValue can generate specific type adapters when needed inside the matrix packages.
MatrixAdapterFactory() - Constructor for class com.mapbox.api.matrix.v1.MatrixAdapterFactory
 
MatrixResponse - Class in com.mapbox.api.matrix.v1.models
This contains the Matrix API response information which can be used to display the results.
MatrixResponse() - Constructor for class com.mapbox.api.matrix.v1.models.MatrixResponse
 
MatrixResponse.Builder - Class in com.mapbox.api.matrix.v1.models
This builder can be used to set the values describing the MatrixResponse.
MatrixService - Interface in com.mapbox.api.matrix.v1
Interface that defines the directions matrix service (v1).
maxspeed(List<MaxSpeed>) - Method in class com.mapbox.api.directions.v5.models.LegAnnotation.Builder
The posted speed limit, between each pair of coordinates.
maxspeed() - Method in class com.mapbox.api.directions.v5.models.LegAnnotation
The posted speed limit, between each pair of coordinates.
MaxSpeed - Class in com.mapbox.api.directions.v5.models
Object representing max speeds along a route.
MaxSpeed() - Constructor for class com.mapbox.api.directions.v5.models.MaxSpeed
 
MaxSpeed.Builder - Class in com.mapbox.api.directions.v5.models
This builder can be used to set the values describing the MaxSpeed.
MEDIUM_PIN - Static variable in class com.mapbox.api.staticmap.v1.StaticMapCriteria
The Static Maps marker shape and size will be medium.
MERGE - Static variable in class com.mapbox.api.directions.v5.models.StepManeuver
Merge onto a street.
message(String) - Method in class com.mapbox.api.directions.v5.models.DirectionsError.Builder
Provides a short message with the explanation of the invalid input.
message() - Method in class com.mapbox.api.directions.v5.models.DirectionsError
Provides a short message with the explanation of the invalid input.
message(String) - Method in class com.mapbox.api.directions.v5.models.DirectionsResponse.Builder
Optionally shows up in a directions response if an error or something unexpected occurred.
message() - Method in class com.mapbox.api.directions.v5.models.DirectionsResponse
Optionally shows up in a directions response if an error or something unexpected occurred.
message(String) - Method in class com.mapbox.api.matching.v5.models.MapMatchingError.Builder
Provides a short message with the explanation of the invalid input.
message() - Method in class com.mapbox.api.matching.v5.models.MapMatchingError
Provides a short message with the explanation of the invalid input.
message(String) - Method in class com.mapbox.api.matching.v5.models.MapMatchingResponse.Builder
Optionally shows up in a map maptching response if an error or something unexpected occurred.
message() - Method in class com.mapbox.api.matching.v5.models.MapMatchingResponse
Optionally shows up in a directions response if an error or something unexpected occurred.
METRIC - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
Change the units to metric for voice and visual information.
mode(String) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
Indicates the mode of transportation in the step.
mode() - Method in class com.mapbox.api.directions.v5.models.LegStep
indicates the mode of transportation in the step.
mode(String) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
This sets the kind of geocoding result you desire, either ephemeral geocoding or batch geocoding.
MODE_PLACES - Static variable in class com.mapbox.api.geocoding.v5.GeocodingCriteria
Default geocoding mode.
MODE_PLACES_PERMANENT - Static variable in class com.mapbox.api.geocoding.v5.GeocodingCriteria
Geocoding mode for enterprise/batch geocoding.
modifier(String) - Method in class com.mapbox.api.directions.v5.models.BannerText.Builder
This indicates the mode of the maneuver.
modifier() - Method in class com.mapbox.api.directions.v5.models.BannerText
This indicates the mode of the maneuver.
modifier(String) - Method in class com.mapbox.api.directions.v5.models.StepManeuver.Builder
This indicates the mode of the maneuver.
modifier() - Method in class com.mapbox.api.directions.v5.models.StepManeuver
This indicates the mode of the maneuver.

N

name(String) - Method in class com.mapbox.api.directions.v5.models.DirectionsWaypoint.Builder
Provides the way name which the waypoint's coordinate is snapped to.
name() - Method in class com.mapbox.api.directions.v5.models.DirectionsWaypoint
Provides the way name which the waypoint's coordinate is snapped to.
name(String) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
String with the name of the way along which the travel proceeds.
name() - Method in class com.mapbox.api.directions.v5.models.LegStep
String with the name of the way along which the travel proceeds.
name(String) - Method in class com.mapbox.api.matching.v5.models.MapMatchingTracepoint.Builder
Provides the way name which the waypoint's coordinate is snapped to.
name() - Method in class com.mapbox.api.matching.v5.models.MapMatchingTracepoint
Provides the way name which the waypoint's coordinate is snapped to.
name(String) - Method in class com.mapbox.api.optimization.v1.models.OptimizationWaypoint.Builder
Provides the way name which the waypoint's coordinate is snapped to.
name() - Method in class com.mapbox.api.optimization.v1.models.OptimizationWaypoint
Provides the way name which the waypoint's coordinate is snapped to.
name(String) - Method in class com.mapbox.api.staticmap.v1.models.StaticMarkerAnnotation.Builder
Modify the markers scale factor using one of the pre defined StaticMapCriteria.SMALL_PIN, StaticMapCriteria.MEDIUM_PIN, or StaticMapCriteria.LARGE_PIN.
NAVIGATION_GUIDANCE_DAY - Static variable in class com.mapbox.api.staticmap.v1.StaticMapCriteria
Navigation specific style that shows only the necessary information while a user is driving.
NAVIGATION_GUIDANCE_NIGHT - Static variable in class com.mapbox.api.staticmap.v1.StaticMapCriteria
Navigation specific style that shows only the necessary information while a user is driving.
NAVIGATION_PREVIEW_DAY - Static variable in class com.mapbox.api.staticmap.v1.StaticMapCriteria
Navigation specific style that shows only the necessary information while a user is driving.
NAVIGATION_PREVIEW_NIGHT - Static variable in class com.mapbox.api.staticmap.v1.StaticMapCriteria
Navigation specific style that shows only the necessary information while a user is driving.
networkInterceptor(Interceptor) - Method in class com.mapbox.api.speech.v1.MapboxSpeech.Builder
Adds an optional network interceptor to set in the OkHttp client.
NEW_NAME - Static variable in class com.mapbox.api.directions.v5.models.StepManeuver
The road name changes (after a mandatory turn).
none(Boolean) - Method in class com.mapbox.api.directions.v5.models.MaxSpeed.Builder
Boolean is `true` if the speed limit is unlimited, otherwise null.
none() - Method in class com.mapbox.api.directions.v5.models.MaxSpeed
Boolean is `true` if the speed limit is unlimited, otherwise null.
NOTIFICATION - Static variable in class com.mapbox.api.directions.v5.models.StepManeuver
Indicates a change of driving conditions, for example changing the mode from driving to ferry.

O

OFF_RAMP - Static variable in class com.mapbox.api.directions.v5.models.StepManeuver
Take a ramp to exit a highway.
ON_RAMP - Static variable in class com.mapbox.api.directions.v5.models.StepManeuver
Take a ramp to enter a highway.
OptimizationAdapterFactory - Class in com.mapbox.api.optimization.v1.models
Required so that AutoValue can generate specific type adapters when needed inside the optimization packages.
OptimizationAdapterFactory() - Constructor for class com.mapbox.api.optimization.v1.models.OptimizationAdapterFactory
 
OptimizationResponse - Class in com.mapbox.api.optimization.v1.models
When the Mapbox Optimization API response, this will be the root class for accessing all the response information provided.
OptimizationResponse() - Constructor for class com.mapbox.api.optimization.v1.models.OptimizationResponse
 
OptimizationResponse.Builder - Class in com.mapbox.api.optimization.v1.models
This builder can be used to set the values describing the OptimizationResponse.
OptimizationService - Interface in com.mapbox.api.optimization.v1
Interface that defines the Optimization service (v1).
OptimizationWaypoint - Class in com.mapbox.api.optimization.v1.models
This is a single input coordinated snapped to the road and path network.
OptimizationWaypoint() - Constructor for class com.mapbox.api.optimization.v1.models.OptimizationWaypoint
 
OptimizationWaypoint.Builder - Class in com.mapbox.api.optimization.v1.models
This builder can be used to set the values describing the OptimizationWaypoint.
origin(Point) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
This sets the starting point on the map where the route will begin.
out(Integer) - Method in class com.mapbox.api.directions.v5.models.StepIntersection.Builder
Index out of the bearings/entry array.
out() - Method in class com.mapbox.api.directions.v5.models.StepIntersection
Index out of the bearings/entry array.
OUTDOORS_STYLE - Static variable in class com.mapbox.api.staticmap.v1.StaticMapCriteria
Mapbox Outdoors is a general-purpose map with curated tilesets and specialized styling tailored to hiking, biking, and the most adventurous use cases.
outputType(String) - Method in class com.mapbox.api.speech.v1.MapboxSpeech.Builder
Output format for spoken instructions.
overview(String) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Type of returned overview geometry.
overview(String) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
Type of returned overview geometry that was used to make the initial directions request.
overview() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
Type of returned overview geometry that was used to make the initial directions request.
overview(String) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Type of returned overview geometry.
overview(String) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
Type of returned overview geometry.
OVERVIEW_FALSE - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
No overview geometry.
OVERVIEW_FULL - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
The most detailed geometry available.
OVERVIEW_SIMPLIFIED - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
A simplified version of the DirectionsCriteria.OVERVIEW_FULL geometry.

P

placeName(String) - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature.Builder
A string representing the feature in the requested language, if specified, and its full result hierarchy.
placeName() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
A string representing the feature in the requested language, if specified, and its full result hierarchy.
placeType(List<String>) - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature.Builder
A list of feature types describing the feature.
placeType() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
A list of feature types describing the feature.
polyline(String) - Method in class com.mapbox.api.staticmap.v1.models.StaticPolylineAnnotation.Builder
The current polyline string being used for the paths geometry.
precision(int) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
In order to make the returned image better cache-able on the client, you can set the precision in decimals instead of manually round the parameters.
primary(BannerText) - Method in class com.mapbox.api.directions.v5.models.BannerInstructions.Builder
Main visual information about the LegStep.
primary() - Method in class com.mapbox.api.directions.v5.models.BannerInstructions
A plain text representation stored inside a BannerText object.
profile(String) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
This selects which mode of transportation the user will be using while navigating from the origin to the final destination.
profile(String) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
The directions profile that was used during the request time and resulted in this responses result.
profile() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
The same profile which was used during the request that resulted in this root directions response.
profile(String) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
This selects which mode of transportation the user will be using to accurately give the map matching route.
profile(String) - Method in class com.mapbox.api.matrix.v1.MapboxMatrix.Builder
This selects which mode of transportation the user will be using to accurately give the matrix durations.
profile(String) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
This selects which mode of transportation the user will be using while navigating from the origin to the final destination.
PROFILE_CYCLING - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
For bicycle routing.
PROFILE_DEFAULT_USER - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
Mapbox default username.
PROFILE_DRIVING - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
For car and motorcycle routing.
PROFILE_DRIVING_TRAFFIC - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
For car and motorcycle routing.
PROFILE_WALKING - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
For pedestrian and hiking routing.
pronunciation(String) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
The pronunciation hint of the way name.
pronunciation() - Method in class com.mapbox.api.directions.v5.models.LegStep
The pronunciation hint of the way name.
properties(JsonObject) - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature.Builder
This contains the JSON object which holds the feature properties.
properties() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
This contains the JSON object which holds the feature properties.
proximity(Point) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
Bias local results base on a provided Point.

Q

query(Point) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
Perform a reverse geocode on the provided Point.
query(String) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
This method can be used for performing a forward geocode on a string representing a address or POI.
query(List<String>) - Method in class com.mapbox.api.geocoding.v5.models.GeocodingResponse.Builder
A list of space and punctuation-separated strings from the original query.
query() - Method in class com.mapbox.api.geocoding.v5.models.GeocodingResponse
A list of space and punctuation-separated strings from the original query.
query(Point) - Method in class com.mapbox.api.tilequery.MapboxTilequery.Builder
The longitude and latitude to be queried.
query(String) - Method in class com.mapbox.api.tilequery.MapboxTilequery.Builder
The longitude and latitude to be queried.

R

radius(Integer) - Method in class com.mapbox.api.tilequery.MapboxTilequery.Builder
The approximate distance in meters to query for features.
radiuses(double...) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Optionally, set the maximum distance in meters that each coordinate is allowed to move when snapped to a nearby road segment.
radiuses(String) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
The radiuses in string format that were used during the original request.
radiuses() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
The same radiuses were used during the request that resulted in this root directions response.
radiuses(Double...) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Optionally, set the maximum distance in meters that each coordinate is allowed to move when snapped to a nearby road segment.
radiuses(double...) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
Optionally, set the maximum distance in meters that each coordinate is allowed to move when snapped to a nearby road segment.
rawCenter(double[]) - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature.Builder
A Point object which represents the center point inside the CarmenFeature.bbox() if one is provided.
rawLocation(double[]) - Method in class com.mapbox.api.directions.v5.models.DirectionsWaypoint.Builder
The rawLocation as a double array.
rawLocation(double[]) - Method in class com.mapbox.api.directions.v5.models.StepIntersection.Builder
The rawLocation as a double array.
rawLocation() - Method in class com.mapbox.api.directions.v5.models.StepIntersection
A Point representing this intersection location.
rawLocation(double[]) - Method in class com.mapbox.api.directions.v5.models.StepManeuver.Builder
The rawLocation as a double array.
rawLocation() - Method in class com.mapbox.api.directions.v5.models.StepManeuver
A Point representing this intersection location.
rawLocation(double[]) - Method in class com.mapbox.api.matching.v5.models.MapMatchingTracepoint.Builder
The rawLocation as a double array.
rawLocation(double[]) - Method in class com.mapbox.api.optimization.v1.models.OptimizationWaypoint.Builder
The rawLocation as a double array.
ref(String) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
String with reference number or code of the way along which the travel proceeds.
ref() - Method in class com.mapbox.api.directions.v5.models.LegStep
Any road designations associated with the road or path leading from this step’s maneuver to the next step’s maneuver.
relevance(Double) - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature.Builder
A numerical score from 0 (least relevant) to 0.99 (most relevant) measuring how well each returned feature matches the query.
relevance() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
A numerical score from 0 (least relevant) to 0.99 (most relevant) measuring how well each returned feature matches the query.
requestUuid(String) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
A universally unique identifier (UUID) for identifying and executing a similar specific route in the future.
requestUuid() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
A universally unique identifier (UUID) for identifying and executing a similar specific route in the future.
retina(boolean) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
Enhance your image by toggling retina to true.
REVERSE_MODE_DISTANCE - Static variable in class com.mapbox.api.geocoding.v5.GeocodingCriteria
Filter results by distance.
REVERSE_MODE_SCORE - Static variable in class com.mapbox.api.geocoding.v5.GeocodingCriteria
Filter results by score.
reverseMode(String) - Method in class com.mapbox.api.geocoding.v5.MapboxGeocoding.Builder
Set the factors that are used to sort nearby results.
ROTARY - Static variable in class com.mapbox.api.directions.v5.models.StepManeuver
A traffic circle.
rotaryName(String) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
An optional string indicating the name of the rotary.
rotaryName() - Method in class com.mapbox.api.directions.v5.models.LegStep
An optional string indicating the name of the rotary.
rotaryPronunciation(String) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
An optional string indicating the pronunciation of the name of the rotary.
rotaryPronunciation() - Method in class com.mapbox.api.directions.v5.models.LegStep
An optional string indicating the pronunciation of the name of the rotary.
ROUNDABOUT - Static variable in class com.mapbox.api.directions.v5.models.StepManeuver
Traverse roundabout.
ROUNDABOUT_TURN - Static variable in class com.mapbox.api.directions.v5.models.StepManeuver
A small roundabout that is treated as an intersection.
roundaboutExits(Boolean) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Optionally, set this to true if you want to enable instructions while exiting roundabouts and rotaries.
roundaboutExits(Boolean) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
This is set to true if you want to enable instructions while exiting roundabouts and rotaries.
roundaboutExits() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
This is set to true if you want to enable instructions while exiting roundabouts and rotaries.
roundaboutExits(Boolean) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Setting this will determine whether to return steps and turn-by-turn instructions.
roundTrip(Boolean) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
Returned route is a roundtrip (route returns to first location).
RouteLeg - Class in com.mapbox.api.directions.v5.models
A route between only two DirectionsWaypoint.
RouteLeg() - Constructor for class com.mapbox.api.directions.v5.models.RouteLeg
 
RouteLeg.Builder - Class in com.mapbox.api.directions.v5.models
This builder can be used to set the values describing the RouteLeg.
routeOptions(RouteOptions) - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute.Builder
Holds onto the parameter information used when making the directions request.
routeOptions() - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute
Holds onto the parameter information used when making the directions request.
RouteOptions - Class in com.mapbox.api.directions.v5.models
Provides information connected to your request that help when a new directions request is needing using the identical parameters as the original request.
RouteOptions() - Constructor for class com.mapbox.api.directions.v5.models.RouteOptions
 
routeOptions(RouteOptions) - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching.Builder
Holds onto the parameter information used when making the directions request.
routeOptions() - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching
Holds onto the parameter information used when making the directions request.
RouteOptions.Builder - Class in com.mapbox.api.directions.v5.models
This builder can be used to set the values describing the RouteOptions.
routes(List<DirectionsRoute>) - Method in class com.mapbox.api.directions.v5.models.DirectionsResponse.Builder
List containing all the different route options.
routes() - Method in class com.mapbox.api.directions.v5.models.DirectionsResponse
List containing all the different route options.
RouteTilesService - Interface in com.mapbox.api.routetiles.v1
Interface that defines the Route Tiles Service (v1).
RouteTileVersionsAdapterFactory - Class in com.mapbox.api.routetiles.v1.versions.models
Required so that AutoValue can generate specific type adapters when needed inside the direction packages.
RouteTileVersionsAdapterFactory() - Constructor for class com.mapbox.api.routetiles.v1.versions.models.RouteTileVersionsAdapterFactory
 
RouteTileVersionsResponse - Class in com.mapbox.api.routetiles.v1.versions.models
This is the root Mapbox Route Tile Versions response object, returned by MapboxRouteTileVersions.
RouteTileVersionsResponse() - Constructor for class com.mapbox.api.routetiles.v1.versions.models.RouteTileVersionsResponse
 
RouteTileVersionsService - Interface in com.mapbox.api.routetiles.v1.versions
Interface that defines the Route Tile Versions Service (v1).

S

SATELLITE_STREETS_STYLE - Static variable in class com.mapbox.api.staticmap.v1.StaticMapCriteria
Mapbox Satellite Streets combines our Mapbox Satellite with vector data from Mapbox Streets.
SATELLITE_STYLE - Static variable in class com.mapbox.api.staticmap.v1.StaticMapCriteria
Mapbox Satellite is our full global base map that is perfect as a blank canvas or an overlay for your own data.
secondary(BannerText) - Method in class com.mapbox.api.directions.v5.models.BannerInstructions.Builder
Ancillary visual information about the LegStep.
secondary() - Method in class com.mapbox.api.directions.v5.models.BannerInstructions
Ancillary visual information about the LegStep.
shortCode(String) - Method in class com.mapbox.api.geocoding.v5.models.CarmenContext.Builder
The ISO 3166-1 country and ISO 3166-2 region code for the returned feature.
shortCode() - Method in class com.mapbox.api.geocoding.v5.models.CarmenContext
The ISO 3166-1 country and ISO 3166-2 region code for the returned feature.
SMALL_PIN - Static variable in class com.mapbox.api.staticmap.v1.StaticMapCriteria
The Static Maps marker shape and size will be small.
source(String) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
Returned route starts at DirectionsCriteria.SOURCE_ANY or DirectionsCriteria.SOURCE_FIRST coordinate.
SOURCE_ANY - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
Returned route starts at any of the provided coordinate in the list.
SOURCE_FIRST - Static variable in class com.mapbox.api.directions.v5.DirectionsCriteria
Returned route starts at the first provided coordinate in the list.
sources(Integer...) - Method in class com.mapbox.api.matrix.v1.MapboxMatrix.Builder
Optionally pass in indexes to generate an asymmetric matrix.
sources(List<DirectionsWaypoint>) - Method in class com.mapbox.api.matrix.v1.models.MatrixResponse.Builder
List of DirectionsWaypoint objects.
sources() - Method in class com.mapbox.api.matrix.v1.models.MatrixResponse
List of DirectionsWaypoint objects.
SpeechService - Interface in com.mapbox.api.speech.v1
Interface that defines the speech service.
speed(List<Double>) - Method in class com.mapbox.api.directions.v5.models.LegAnnotation.Builder
The speed, in meters per second, between each pair of coordinates.
speed() - Method in class com.mapbox.api.directions.v5.models.LegAnnotation
The speed, in meters per second, between each pair of coordinates.
speed(Integer) - Method in class com.mapbox.api.directions.v5.models.MaxSpeed.Builder
Number indicating the posted speed limit.
speed() - Method in class com.mapbox.api.directions.v5.models.MaxSpeed
Number indicating the posted speed limit.
ssmlAnnouncement(String) - Method in class com.mapbox.api.directions.v5.models.VoiceInstructions.Builder
Get the same instruction string you'd get from VoiceInstructions.announcement() but this one includes Speech Synthesis Markup Language which helps voice synthesiser read information more humanely.
ssmlAnnouncement() - Method in class com.mapbox.api.directions.v5.models.VoiceInstructions
Get the same instruction string you'd get from VoiceInstructions.announcement() but this one includes Speech Synthesis Markup Language which helps voice synthesiser read information more humanely.
StaticMapCriteria - Class in com.mapbox.api.staticmap.v1
Constant values related to the Static Map API can be found in this class.
StaticMapCriteria.MarkerCriteria - Annotation Type in com.mapbox.api.staticmap.v1
Retention policy for the pin parameter in the Static Map Marker Annotation API.
StaticMarkerAnnotation - Class in com.mapbox.api.staticmap.v1.models
Mapbox Static Image API marker overlay.
StaticMarkerAnnotation() - Constructor for class com.mapbox.api.staticmap.v1.models.StaticMarkerAnnotation
 
StaticMarkerAnnotation.Builder - Class in com.mapbox.api.staticmap.v1.models
This builder is used to create a new request to the Mapbox Static Map API.
staticMarkerAnnotations(List<StaticMarkerAnnotation>) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
Optionally provide a list of marker annotations which can be placed on the static map image during the rendering process.
StaticPolylineAnnotation - Class in com.mapbox.api.staticmap.v1.models
Mapbox Static Image API polyline overlay.
StaticPolylineAnnotation() - Constructor for class com.mapbox.api.staticmap.v1.models.StaticPolylineAnnotation
 
StaticPolylineAnnotation.Builder - Class in com.mapbox.api.staticmap.v1.models
Builder used for passing in custom parameters.
staticPolylineAnnotations(List<StaticPolylineAnnotation>) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
Optionally provide a list of polyline annotations which can be placed on the static map image during the rendering process.
StepIntersection - Class in com.mapbox.api.directions.v5.models
Object representing an intersection along the step.
StepIntersection() - Constructor for class com.mapbox.api.directions.v5.models.StepIntersection
 
StepIntersection.Builder - Class in com.mapbox.api.directions.v5.models
This builder can be used to set the values describing the StepIntersection.
StepManeuver - Class in com.mapbox.api.directions.v5.models
Gives maneuver information about one LegStep.
StepManeuver() - Constructor for class com.mapbox.api.directions.v5.models.StepManeuver
 
StepManeuver.Builder - Class in com.mapbox.api.directions.v5.models
This builder can be used to set the values describing the StepManeuver.
StepManeuver.StepManeuverType - Annotation Type in com.mapbox.api.directions.v5.models
Maneuver types.
steps(Boolean) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Setting this will determine whether to return steps and turn-by-turn instructions.
steps(List<LegStep>) - Method in class com.mapbox.api.directions.v5.models.RouteLeg.Builder
Gives a List including all the steps to get from one waypoint to another.
steps() - Method in class com.mapbox.api.directions.v5.models.RouteLeg
Gives a List including all the steps to get from one waypoint to another.
steps(Boolean) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
Boolean value used to determine whether to return steps and turn-by-turn instructions in the initial directions request.
steps() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
Boolean value used to determine whether to return steps and turn-by-turn instructions in the initial directions request.
steps(Boolean) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Setting this will determine whether to return steps and turn-by-turn instructions.
steps(Boolean) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
Setting this will determine whether to return steps and turn-by-turn instructions.
STREET_STYLE - Static variable in class com.mapbox.api.staticmap.v1.StaticMapCriteria
Mapbox Streets is a comprehensive, general-purpose map that emphasizes accurate, legible styling of road and transit networks.
strokeColor(String) - Method in class com.mapbox.api.staticmap.v1.models.StaticPolylineAnnotation.Builder
Set the line outer stroke color.
strokeColor(int, int, int) - Method in class com.mapbox.api.staticmap.v1.models.StaticPolylineAnnotation.Builder
Set the line outer stroke color.
strokeOpacity(Float) - Method in class com.mapbox.api.staticmap.v1.models.StaticPolylineAnnotation.Builder
Value between 0, completely transparent, and 1, opaque for the line stroke.
strokeWidth(Double) - Method in class com.mapbox.api.staticmap.v1.models.StaticPolylineAnnotation.Builder
Defines the line stroke width for the path.
styleId(String) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
The returning map images style, which can be one of the provided Mapbox Styles or a custom style made inside Mapbox Studio.
sub(BannerText) - Method in class com.mapbox.api.directions.v5.models.BannerInstructions.Builder
Additional information that is included if we feel the driver needs a heads up about something.
sub() - Method in class com.mapbox.api.directions.v5.models.BannerInstructions
Additional information that is included if we feel the driver needs a heads up about something.
summary(String) - Method in class com.mapbox.api.directions.v5.models.RouteLeg.Builder
A short human-readable summary of major roads traversed.
summary() - Method in class com.mapbox.api.directions.v5.models.RouteLeg
A short human-readable summary of major roads traversed.

T

text(String) - Method in class com.mapbox.api.directions.v5.models.BannerComponents.Builder
A snippet of the full BannerText.text() which can be used for visually altering parts of the full string.
text() - Method in class com.mapbox.api.directions.v5.models.BannerComponents
A snippet of the full BannerText.text() which can be used for visually altering parts of the full string.
text(String) - Method in class com.mapbox.api.directions.v5.models.BannerText.Builder
Plain text with all the BannerComponents text combined.
text() - Method in class com.mapbox.api.directions.v5.models.BannerText
Plain text with all the BannerComponents text combined.
text(String) - Method in class com.mapbox.api.geocoding.v5.models.CarmenContext.Builder
A string representing the feature.
text() - Method in class com.mapbox.api.geocoding.v5.models.CarmenContext
A string representing the feature.
text(String) - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature.Builder
A string representing the feature in the requested language.
text() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
A string representing the feature in the requested language, if specified.
textType(String) - Method in class com.mapbox.api.speech.v1.MapboxSpeech.Builder
Format which the input is specified.
tidy(Boolean) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Whether or not to transparently remove clusters and re-sample traces for improved map matching results.
TILEQUERY_GEOMETRY_LINESTRING - Static variable in class com.mapbox.api.tilequery.TilequeryCriteria
Queries for a specific geometry type (linestring).
TILEQUERY_GEOMETRY_POINT - Static variable in class com.mapbox.api.tilequery.TilequeryCriteria
Queries for a specific geometry type (point).
TILEQUERY_GEOMETRY_POLYGON - Static variable in class com.mapbox.api.tilequery.TilequeryCriteria
Queries for a specific geometry type (polygon).
TilequeryCriteria - Class in com.mapbox.api.tilequery
Constants that should be used when using the Tilequery API.
TilequeryCriteria() - Constructor for class com.mapbox.api.tilequery.TilequeryCriteria
 
TilequeryCriteria.TilequeryGeometry - Annotation Type in com.mapbox.api.tilequery
Queries for a specific geometry type selector.
TilequeryService - Interface in com.mapbox.api.tilequery
Interface that defines the tilequery service.
timestamps(String...) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Timestamps corresponding to each coordinate provided in the request; must be numbers in Unix time (seconds since the Unix epoch) converted to a String.
timestamps(String) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
 
toBuilder() - Method in class com.mapbox.api.directions.v5.MapboxDirections
Returns the builder which created this instance of MapboxDirections and allows for modification and building a new directions request with new information.
toBuilder() - Method in class com.mapbox.api.directions.v5.models.BannerComponents
Convert the current BannerComponents to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.directions.v5.models.BannerInstructions
Convert the current BannerInstructions to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.directions.v5.models.BannerText
Convert the current BannerText to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.directions.v5.models.DirectionsError
Convert the current DirectionsError to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.directions.v5.models.DirectionsResponse
Convert the current DirectionsResponse to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute
Convert the current DirectionsRoute to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.directions.v5.models.DirectionsWaypoint
Convert the current DirectionsWaypoint to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.directions.v5.models.IntersectionLanes
Convert the current IntersectionLanes to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.directions.v5.models.LegAnnotation
Convert the current LegAnnotation to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.directions.v5.models.LegStep
Convert the current LegStep to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.directions.v5.models.MaxSpeed
Convert the current MaxSpeed to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.directions.v5.models.RouteLeg
Convert the current RouteLeg to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.directions.v5.models.StepIntersection
Convert the current StepIntersection to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.directions.v5.models.StepManeuver
Convert the current StepManeuver to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.directions.v5.models.VoiceInstructions
Convert the current VoiceInstructions to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.geocoding.v5.models.CarmenContext
Convert current instance values into another Builder to quickly change one or more values.
toBuilder() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
Convert current instance values into another Builder to quickly change one or more values.
toBuilder() - Method in class com.mapbox.api.geocoding.v5.models.GeocodingResponse
Convert the current GeocodingResponse to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching
Convert the current MapMatchingMatching to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.matching.v5.models.MapMatchingResponse
Convert the current MapMatchingResponse to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.matching.v5.models.MapMatchingTracepoint
Convert the current MapMatchingTracepoint to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.matrix.v1.models.MatrixResponse
Convert the current MatrixResponse to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.optimization.v1.models.OptimizationResponse
Convert the current OptimizationResponse to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.optimization.v1.models.OptimizationWaypoint
Convert the current OptimizationWaypoint to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.routetiles.v1.MapboxRouteTiles
Returns the builder which created this instance of MapboxRouteTiles and allows for modification and building a new route tiles request with new information.
toBuilder() - Method in class com.mapbox.api.routetiles.v1.versions.MapboxRouteTileVersions
Returns the builder which created this instance of MapboxRouteTileVersions and allows for modification and building a new route tile versions request with new information.
toBuilder() - Method in class com.mapbox.api.staticmap.v1.models.StaticMarkerAnnotation
Convert the current StaticMarkerAnnotation to its builder holding the currently assigned values.
toBuilder() - Method in class com.mapbox.api.staticmap.v1.models.StaticPolylineAnnotation
Convert the current StaticPolylineAnnotation to its builder holding the currently assigned values.
toDirectionRoute() - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching
Map this MapMatchingMatching object to a DirectionsRoute object.
toJson() - Method in class com.mapbox.api.directions.v5.models.DirectionsJsonObject
This takes the currently defined values found inside this instance and converts it to a json string.
toJson() - Method in class com.mapbox.api.geocoding.v5.models.CarmenContext
This takes the currently defined values found inside this instance and converts it to a JSON string.
toJson() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
This takes the currently defined values found inside this instance and converts it to a JSON string.
toJson() - Method in class com.mapbox.api.geocoding.v5.models.GeocodingResponse
This takes the currently defined values found inside this instance and converts it to a GeoJson string.
tracepoints(List<MapMatchingTracepoint>) - Method in class com.mapbox.api.matching.v5.models.MapMatchingResponse.Builder
A list of MapMatchingTracepoint objects representing the location an input point was matched with.
tracepoints() - Method in class com.mapbox.api.matching.v5.models.MapMatchingResponse
A list of MapMatchingTracepoint objects representing the location an input point was matched with.
trips(List<DirectionsRoute>) - Method in class com.mapbox.api.optimization.v1.models.OptimizationResponse.Builder
List of trip DirectionsRoute objects.
trips() - Method in class com.mapbox.api.optimization.v1.models.OptimizationResponse
List of trip DirectionsRoute objects.
tripsIndex(int) - Method in class com.mapbox.api.optimization.v1.models.OptimizationWaypoint.Builder
Index to the trip object in the trips array that contains this waypoint.
tripsIndex() - Method in class com.mapbox.api.optimization.v1.models.OptimizationWaypoint
Index to the trip object in the trips array that contains this waypoint.
TURN - Static variable in class com.mapbox.api.directions.v5.models.StepManeuver
A basic turn in the direction of the modifier.
type(String) - Method in class com.mapbox.api.directions.v5.models.BannerComponents.Builder
String giving you more context about the component which may help in visual markup/display choices.
type() - Method in class com.mapbox.api.directions.v5.models.BannerComponents
String giving you more context about the component which may help in visual markup/display choices.
type(String) - Method in class com.mapbox.api.directions.v5.models.BannerText.Builder
This indicates the type of maneuver.
type() - Method in class com.mapbox.api.directions.v5.models.BannerText
This indicates the type of maneuver.
type(String) - Method in class com.mapbox.api.directions.v5.models.StepManeuver.Builder
This indicates the type of maneuver.
type() - Method in class com.mapbox.api.directions.v5.models.StepManeuver
This indicates the type of maneuver.
type() - Method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
This describes the TYPE of GeoJson geometry this object is, thus this will always return Feature.
type() - Method in class com.mapbox.api.geocoding.v5.models.GeocodingResponse
A geocoding response will always be an extension of a FeatureCollection containing additional information.
TYPE_ADDRESS - Static variable in class com.mapbox.api.geocoding.v5.GeocodingCriteria
Filter results by address.
TYPE_COUNTRY - Static variable in class com.mapbox.api.geocoding.v5.GeocodingCriteria
Filter results by country.
TYPE_DISTRICT - Static variable in class com.mapbox.api.geocoding.v5.GeocodingCriteria
Filter results by district.
TYPE_LOCALITY - Static variable in class com.mapbox.api.geocoding.v5.GeocodingCriteria
Filter results by locality.
TYPE_NEIGHBORHOOD - Static variable in class com.mapbox.api.geocoding.v5.GeocodingCriteria
Filter results by neighborhood.
TYPE_PLACE - Static variable in class com.mapbox.api.geocoding.v5.GeocodingCriteria
Filter results by place.
TYPE_POI - Static variable in class com.mapbox.api.geocoding.v5.GeocodingCriteria
Filter results by POI.
TYPE_POI_LANDMARK - Static variable in class com.mapbox.api.geocoding.v5.GeocodingCriteria
Filter results by POI landmark subtype.
TYPE_POSTCODE - Static variable in class com.mapbox.api.geocoding.v5.GeocodingCriteria
Filter results by postcode.
TYPE_REGION - Static variable in class com.mapbox.api.geocoding.v5.GeocodingCriteria
Filter results by region.
typeAdapter(Gson) - Static method in class com.mapbox.api.directions.v5.models.BannerComponents
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.directions.v5.models.BannerInstructions
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.directions.v5.models.BannerText
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.directions.v5.models.DirectionsError
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.directions.v5.models.DirectionsResponse
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.directions.v5.models.DirectionsRoute
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.directions.v5.models.DirectionsWaypoint
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.directions.v5.models.IntersectionLanes
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.directions.v5.models.LegAnnotation
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.directions.v5.models.LegStep
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.directions.v5.models.MaxSpeed
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.directions.v5.models.RouteLeg
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.directions.v5.models.RouteOptions
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.directions.v5.models.StepIntersection
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.directions.v5.models.StepManeuver
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.directions.v5.models.VoiceInstructions
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.geocoding.v5.models.CarmenContext
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.geocoding.v5.models.CarmenFeature
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.geocoding.v5.models.GeocodingResponse
Gson TYPE adapter for parsing Gson t«o this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.matching.v5.models.MapMatchingError
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.matching.v5.models.MapMatchingMatching
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.matching.v5.models.MapMatchingResponse
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.matching.v5.models.MapMatchingTracepoint
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.matrix.v1.models.MatrixResponse
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.optimization.v1.models.OptimizationResponse
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.optimization.v1.models.OptimizationWaypoint
Gson type adapter for parsing Gson to this class.
typeAdapter(Gson) - Static method in class com.mapbox.api.routetiles.v1.versions.models.RouteTileVersionsResponse
Gson type adapter for parsing Gson to this class.

U

unit(String) - Method in class com.mapbox.api.directions.v5.models.MaxSpeed.Builder
String indicating the unit of speed, either as `km/h` or `mph`.
unit() - Method in class com.mapbox.api.directions.v5.models.MaxSpeed
String indicating the unit of speed, either as `km/h` or `mph`.
unknown(Boolean) - Method in class com.mapbox.api.directions.v5.models.MaxSpeed.Builder
Boolean is true if the speed limit is not known, otherwise null.
unknown() - Method in class com.mapbox.api.directions.v5.models.MaxSpeed
Boolean is true if the speed limit is not known, otherwise null.
url() - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap
Returns the formatted URL string meant to be passed to your Http client for retrieval of the actual Mapbox Static Image.
url() - Method in class com.mapbox.api.staticmap.v1.models.StaticMarkerAnnotation
Used Internally.
url() - Method in class com.mapbox.api.staticmap.v1.models.StaticPolylineAnnotation
Used Internally.
user(String) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
The username for the account that the directions engine runs on.
user(String) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
The user value that was used during the request.
user() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
The same user which was used during the request that resulted in this root directions response.
user(String) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
The username for the account that the directions engine runs on.
user(String) - Method in class com.mapbox.api.matrix.v1.MapboxMatrix.Builder
The username for the account that the directions engine runs on.
user(String) - Method in class com.mapbox.api.optimization.v1.MapboxOptimization.Builder
The username for the account that the directions engine runs on.
user(String) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
The username for the account that the directions engine runs on.
uuid(String) - Method in class com.mapbox.api.directions.v5.models.DirectionsResponse.Builder
A universally unique identifier (UUID) for identifying and executing a similar specific route in the future.
uuid() - Method in class com.mapbox.api.directions.v5.models.DirectionsResponse
A universally unique identifier (UUID) for identifying and executing a similar specific route in the future.

V

valid(Boolean) - Method in class com.mapbox.api.directions.v5.models.IntersectionLanes.Builder
Provide a boolean value you can use to determine if the given lane is valid for the user to complete the maneuver.
valid() - Method in class com.mapbox.api.directions.v5.models.IntersectionLanes
Provides a boolean value you can use to determine if the given lane is valid for the user to complete the maneuver.
version(String) - Method in class com.mapbox.api.routetiles.v1.MapboxRouteTiles.Builder
The version of map tiles being requested.
voiceInstructions(Boolean) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Request voice instructions objects to be returned in your response.
voiceInstructions(List<VoiceInstructions>) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
The voice instructions object is useful for navigation sessions providing well spoken text instructions along with the distance from the maneuver the instructions should be said.
voiceInstructions() - Method in class com.mapbox.api.directions.v5.models.LegStep
The voice instructions object is useful for navigation sessions providing well spoken text instructions along with the distance from the maneuver the instructions should be said.
voiceInstructions(Boolean) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
Whether or not the request had voice instructions set to true or not.
voiceInstructions() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
Whether or not the request had voice instructions set to true or not.
VoiceInstructions - Class in com.mapbox.api.directions.v5.models
This class provides information thats useful for properly making navigation announcements at the correct time.
VoiceInstructions() - Constructor for class com.mapbox.api.directions.v5.models.VoiceInstructions
 
voiceInstructions(Boolean) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Setting this will determine whether to return steps and turn-by-turn instructions.
VoiceInstructions.Builder - Class in com.mapbox.api.directions.v5.models
This builder can be used to set the values describing the VoiceInstructions.
voiceLanguage(String) - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute.Builder
String of the language to be used for voice instructions.
voiceLanguage() - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute
String of the language to be used for voice instructions.
voiceLanguage(String) - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching.Builder
String of the language to be used for voice instructions.
voiceLanguage() - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching
String of the language to be used for voice instructions.
voiceUnits(String) - Method in class com.mapbox.api.directions.v5.MapboxDirections.Builder
Specify what unit you'd like voice and banner instructions to use.
voiceUnits(String) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
Whether or not the units used inside the voice instruction's string are in imperial or metric.
voiceUnits() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
Whether or not the units used inside the voice instruction's string are in imperial or metric.
voiceUnits(String) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Specify what unit you'd like voice and banner instructions to use.

W

waypointIndex(Integer) - Method in class com.mapbox.api.matching.v5.models.MapMatchingTracepoint.Builder
Index of the waypoint inside the matched route.
waypointIndex() - Method in class com.mapbox.api.matching.v5.models.MapMatchingTracepoint
Index of the waypoint inside the matched route.
waypointIndex(int) - Method in class com.mapbox.api.optimization.v1.models.OptimizationWaypoint.Builder
Index of the waypoint inside the optimization route.
waypointIndex() - Method in class com.mapbox.api.optimization.v1.models.OptimizationWaypoint
Index of the waypoint inside the optimization route.
waypointNames(String) - Method in class com.mapbox.api.directions.v5.models.RouteOptions.Builder
The same approaches the user originally made when the request was made.
waypointNames() - Method in class com.mapbox.api.directions.v5.models.RouteOptions
Custom names for waypoints used for the arrival instruction in banners and voice instructions, each separated by ; .
waypoints(List<DirectionsWaypoint>) - Method in class com.mapbox.api.directions.v5.models.DirectionsResponse.Builder
List of DirectionsWaypoint objects.
waypoints() - Method in class com.mapbox.api.directions.v5.models.DirectionsResponse
List of DirectionsWaypoint objects.
waypoints(Integer...) - Method in class com.mapbox.api.matching.v5.MapboxMapMatching.Builder
Optionally, set which input coordinates should be treated as waypoints.
waypoints(List<OptimizationWaypoint>) - Method in class com.mapbox.api.optimization.v1.models.OptimizationResponse.Builder
List of OptimizationWaypoint objects.
waypoints() - Method in class com.mapbox.api.optimization.v1.models.OptimizationResponse
List of OptimizationWaypoint objects.
weight(Double) - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute.Builder
The calculated weight of the route.
weight() - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute
The calculated weight of the route.
weight(double) - Method in class com.mapbox.api.directions.v5.models.LegStep.Builder
Specifies a decimal precision of edge weights, default value 1.
weight() - Method in class com.mapbox.api.directions.v5.models.LegStep
Specifies a decimal precision of edge weights, default value 1.
weight(double) - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching.Builder
The calculated weight of the route.
weight() - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching
The calculated weight of the route.
weightName(String) - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute.Builder
The name of the weight profile used while calculating during extraction phase.
weightName() - Method in class com.mapbox.api.directions.v5.models.DirectionsRoute
The name of the weight profile used while calculating during extraction phase.
weightName(String) - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching.Builder
The name of the weight profile used while calculating during extraction phase.
weightName() - Method in class com.mapbox.api.matching.v5.models.MapMatchingMatching
The name of the weight profile used while calculating during extraction phase.
width(int) - Method in class com.mapbox.api.staticmap.v1.MapboxStaticMap.Builder
Width of the image.
wikidata(String) - Method in class com.mapbox.api.geocoding.v5.models.CarmenContext.Builder
The WikiData identifier for a country, region or place.
wikidata() - Method in class com.mapbox.api.geocoding.v5.models.CarmenContext
The WikiData identifier for a country, region or place.
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links