The Mapbox Java SDK – Java wrappers around Mapbox APIs and other location data
MIT License
Bot releases are hidden (Show)
Published by LukasPaczos over 2 years ago
RouteOptions#fromUrl
didn't deserialize the port number. #1382
Published by LukasPaczos over 2 years ago
RouteOptions#avoidManeuverRadius
field was represented as integer instead of double. This change is breaking but necessary to correctly represent the Directions API structure. #1376
railwayCrossing
field to StepIntersection
which indicates whether there is a railway crossing at the intersection. #1375
RouteOptions#toUrl
. #1377
Published by LukasPaczos over 2 years ago
Published by LukasPaczos over 2 years ago
viaWaypoints
in RouteLeg
#1364
RouteOptions#excludeObject
for providing points that should be avoided in the returned route. #1362
DirectionsWaypoint
properties to reflect the API structure. #1360
DirectionsWaypoint#distance
property. #1360
Published by LukasPaczos over 2 years ago
TurfMisc#lineIntersect
using an algorithm with O(nm) time complexity which should suite small to medium sized geometries until a more performant solution is implemented. #1348
Published by VysotskiVadim over 2 years ago
Published by abhishek1508 almost 3 years ago
Published by LukasPaczos almost 3 years ago
Published by Zayankovsky almost 3 years ago
Published by cafesilencio almost 3 years ago
RouteOptions.toUrl
. #1313
Published by n-frolov about 3 years ago
No additional changes. No issues were identified during testing and the last pre-release has been promoted to stable.
The full list of changes for v6.0.0 is available here.
Published by korshaknn about 3 years ago
Fixed RouteOptions#toUrl()
function. #1302
Published by LukasPaczos about 3 years ago
RouteOptions#toUrl()
function.Published by kmadsen about 3 years ago
Published by abhishek1508 about 3 years ago
active_direction
encapsulated in lane banner component. #1294
Published by abhishek1508 about 3 years ago
Published by Zayankovsky about 3 years ago
Published by korshaknn about 3 years ago
okhttp
version to 4.9.0
. It requires java 1.8 for compatibility. #1271
Published by LukasPaczos about 3 years ago
accessToken
from RouteOptions
and moved it to MapboxDirections
instead. This simplifies serialization and deserialization of route objects without potential leaks of data under the assumption that an entity that makes a route request has an ability to provide an access token without the route object having to transport it. #1276
Published by korshaknn about 3 years ago
MapboxDirections
to accept RouteOptions
as an argument that defines request parameters #1265
RouteOptions
for coordinates, now there are RouteOptions#coordinates(string)
and RouteOptions#coordinatesList(list)
. If there are routes that were previously serialized with toJson
methods and contained RouteOptions
, they will not be possible to deserialize anymore since coordinates are now stored as a string and not an array. This breaking change can typically impact test fixtures. To address the change in your existing serialized routeOptions
, change the coordinates
array to a semicolon-separated string, for example:- "coordinates":[[-122.5237429,37.975393],[-122.5231413,37.9750695]]
+ "coordinates":"-122.5237429,37.975393;-122.5231413,37.9750695"
routeOptions
property, you need to explicitly provide an access token in DirectionsRoute#fromJson(routeJson, accessToken)
or an exception will be thrown. #1267
requestUuid
object out of RouteOptions
and into DirectionsRoute
since the UUID is not a request parameter, it's a response value #1265
enableRefresh
to RouteOptions
since it is a route request parameter #1265
WalkingOptions
in favor of storing the parameter directly in the RouteOptions
#1265
arriveBy
and departAt
request parameters #1265
ANNOTATION_CONGESTION_NUMERIC
parameter #1265
DirectionsResponse#fromJson(json, route options, request uuid)
that allows to provide information about the original route request which response they deserialize so that Nav SDK can operate correctly #1265
DirectionsRoute#fromJson(json, route options, request uuid)
for same reason as above #1265
RouteOptions#fromUrl
utility function that creates the object from the request URL which might be useful when paired with the above functions #1265
RouteOptions
: base URL, user, and geometry encoding (polyline6) #1265GeoJSON
specification expects #1265
Bearing
object that represents a pair of values for {angle, degrees}
#1265
Closure
@Nullable
annotations with @NonNull
#1268