Mapbox welcomes participation and contributions from everyone.
- Added
DirectionsRefreshResponse#fromJson(Reader), a static factory method that deserializes aDirectionsRefreshResponsefrom ajava.io.Reader. - Added
FlattenListOfPointsto hold a list of points in a more memory-efficient way. - Deprecate
LineString#coordinates()andPoint#coordinates(). It's encouraged to use the newflattenCoordinates()methods. - Added
DirectionsRoute#weightTypicalindicating the weight of the route under typical conditions.
- Add
StepIntersection#duration(previously available throughStepIntersection#getUnrecognizedProperty("duration"))
- Add
RouteLeg#notifications
- Added
StepIntersection#formOfWayproperty which provides a list representing the "form of way" values for all roads at the step intersection. #1611 - Added
StepIntersection#geometriesproperty which provides a list representing the geometry of each road at the step intersection. #1611 - Added
StepIntersection#accessproperty which provides a list representing the access type for each road at the step intersection. #1611 - Added
StepIntersection#elevatedproperty which provides a list indicating whether each road at the step intersection is elevated. #1611 - Added
StepIntersection#bridgeproperty which provides a list indicating whether each road at the step intersection is a bridge. #1611 - Added a new voice unit value:
DirectionsCriteria#BRITISH_IMPERIAL. This value is now included inDirectionsCriteria#VoiceUnitCriteria. #1611
- Added
IntersectionLanes#accessproperty which provides lane access attributes, such as allowed vehicle types for designated lanes. #1608
-
Fixed malformed URL that resulted from previous inclusion of
contours_metersas an Isochrone option. #1599 -
Fixed an issue where Isochrone API's
contours_metersrequired at least two input values, instead of only one.
- Updated IsoChrone API to support new query parameters including contours_meters, road/route exclusions and departure time. #1596
- Bumped
okhttpversion to4.10.0. #1595
- Added
PaymentMethods#etc2payment method. - Added
V6StructuredInputQuery#countryoption.
- Optimize memory usage in Directions API model classes by interning frequently occurring strings in JSON
- Added Geocoding V6 Support.
- Added
DirectionsCriteria#PAYMENT_METHOD_ETC2option to pass asRouteOptions#computeTollCostsand to receive inIntersectionsLanes#paymentMethods.
- Added
LegAnnotation#freeflowSpeedandLegAnnotation#currentSpeed. To receive these annotations, passDirectionsCriteria.ANNOTATION_FREEFLOW_SPEEDandDirectionsCriteria.ANNOTATION_CURRENT_SPEEDin the request in the "annotations" parameter.
- No additional changes
- Added
Incident#trafficCodes.
- Added
StepIntersection.mergingArea.
- No additional changes
- Added
DirectionsResponse.fromJson(Reader)andDirectionsResponse.fromJson(Reader, RouteOptions)to support streaming serialisation ofDirectionsResponse.
- No additional changes
- No additional changes
- No additional changes
- Added "routable points" support for
services-geocoding#1522
- Specified supported amenity types via
DirectionsCriteria#AmenityTypeCriteria. #1515 - Fixed an issue where the
OptimizationResponse#trips#routeIndexandOptimizationResponse#trips#routeOptionsweren't correctly assigned. #1517
- Added
paymentMethodsparameter forRouteOptionsandIntersectionLanes. #1449
- Added
RouteOptions#waypointsPerRoute()andRouteOption.Builders#waypointsPerRoute()methods. #1509 - Added
DirectionsRoute#waypoints. #1509
- Removed
RouteOptions#waypointsPerRoute()andRouteOption.Builders#waypointsPerRoute()methods. #1506 - Removed
DirectionsRoute#waypointsand made non-deprecatedDirectionsResponse#waypoints. #1506
- Added
RouteOptions#waypointsPerRoute()andRouteOption.Builders#waypointsPerRoute()methods. #1503 - Added
DirectionsRoute#waypointsand deprecatedDirectionsResponse#waypoints. #1503
- Added
getUnrecognizedJsonProperties()method toDirectionsRefreshJsonObjectso that unrecognized properties can be received from refresh response. #1500 - Added
DirectionsRefreshJsonObject.Builder#unrecognizedJsonProperties. #1500 - Added
getUnrecognizedJsonProperties()method toDirectionsJsonObjectso that a map of unrecognized properties can be received from route response. #1500 - Added
DirectionsJsonObject.Builder#unrecognizedJsonProperties. #1500
- Replaced
TurfSimplify#simplifywithTurfTransformation#simplify. #1496 - Deprecated
PolylineUtils#simplifyin favour ofTurfTransformation#simplify. #1496
- Added
TurfSimplify#simplifymethod to simplifyLineStringusing Ramer-Douglas-Peucker algorithm. #1486 - Added
List<Closure>toRouteLegRefreshto makeDirectionsRoute#RouteLegrefreshed with closures. #1489
- Added
subTypestoBannerComponents. #1485
- Added traffic tendency annotations. #1479
- Added support for
RestStop#guideMapassociated with theRestStop. #1471 - Fixed an issue where the
RouteOptions#...Listparameters were not reset correctly (for example,routeOptions.toBuilder().bearingsList(null).build()did not reset bearings to null). #1469 - Added
RouteOptions.snappingIncludeStaticClosuresandRouteOptions.snappingIncludeStaticClosuresList. #1469 - Added
RouteOptions#computeTollCostrequest parameter that when set totruecan returnDirectionsRoute#tollCosts, if data is available. #1458
- No additional changes
- Added
Incident.affectedRoadNames. #1457 - Added
StepIntersections.trafficSignal,StepIntersections.stopSignandStepIntersections.yieldSign. #1464 - Fixed an issue where the
MapMatchingMathcing#routeIndexwasn't correctly assigned. #1463
- Fixed
RouteOptions#toUrlfor a case whenRouteOptionswas deserialized from a json generated by an old version of mapbox-java. #1447 - Added support for
Amenitiesby exposing them as a part ofRestStop. #1454
- No additional changes
- Added
max_weightfield toRouteOptionsto provide max vehicle weight, metric tons. #1439
- Added
TollCollection#namefield which contains a name of the toll booth/gantry, when available. #1432 - Improved
RouteOptions#toUrlquery parameters encoding. This (in between other improvements) adds handling for rarer unescaped characters occurrences (like '&' baked within other string). #1433 - Added
IncidentstoRouteLegRefreshwhich allow to refresh incidents along a route. #1421
- Added
RestStop#namefield which contains a name of the service/rest area, when available. #1428
- Added
ignoreparameter to Map Matching API. #1424 - Added roundtrip of unrecognized JSON properties. #1394
- Added API to access unrecognized JSON properties. See
#getUnrecognizedPropertyand#getUnrecognizedPropertiesNamesin each Directions API model object. #1416 - Added
RouteOptions.Builder#unrecognizedPropertiesto set custom request parameters to a URL generated byRouteOptions#toUrlonly. The custom request parameters are not supported byMapboxDirectionsservice. #1420 - Removed experimental EV routing request/response parameters. Please use the
RouteOptions.Builder#unrecognizedPropertiesto set experimental request parameters, and#getUnrecognizedPropertyto get values from relevant response objects. EV routing parameters documentation is available here. #1422
RouteOptions#toUrlmight still produce invalid URLs (and fail a request or later crash onRouteOptions#fromUrl) if query parameters contain&chars that do not exactly match the<white space>&<white space>pattern. Only this specific pattern is escaped correctly.
- Added correct escaping for
<white space>&<white space>pattern in query parameters forRouteOptions#toUrl. #1410.
RouteOptions#toUrlmight still produce invalid URLs (and fail a request or later crash onRouteOptions#fromUrl) if query parameters contain&chars that do not exactly match the<white space>&<white space>pattern. Only this specific pattern is escaped correctly.
- Added correct escaping for
<white space>&<white space>pattern in query parameters forRouteOptions#toUrl. #1410.
RouteOptions#toUrlmight still produce invalid URLs (and fail a request or later crash onRouteOptions#fromUrl) if query parameters contain&chars that do not exactly match the<white space>&<white space>pattern. Only this specific pattern is escaped correctly.
- Added experimental EV routing request/response parameters. These params will only be part of pre-releases (removed from final versions) until refactored into stable APIs in the future.#1405
- Removed experimental EV routing request/response parameters. These params will only be part of pre-releases until refactored into stable APIs in the future.#1395
- Added route index to
MapMatchingMatching. #1385
- Fixed an issue where
RouteOptions#fromUrldidn't deserialize the port number. #1382
⚠️ Fixed an issue whereRouteOptions#avoidManeuverRadiusfield was represented as integer instead of double. This change is breaking but necessary to correctly represent the Directions API structure. #1376- Added
railwayCrossingfield toStepIntersectionwhich indicates whether there is a railway crossing at the intersection. #1375 - Added ability to handle encoded coordinates in
RouteOptions#toUrl. #1377
- Exposed
viaWaypointsinRouteLeg#1364 - Added
RouteOptions#excludeObjectfor providing points that should be avoided in the returned route. #1362 - Updated nullability of
DirectionsWaypointproperties to reflect the API structure. #1360 - Added
DirectionsWaypoint#distanceproperty. #1360 - Added experimental EV routing request/response parameters. These change will only be part of pre-releases (removed from final versions) until refactored into stable APIs in the future. #1365
- No additional changes.
- Exposed turf.lineIntersect via
TurfMisc#lineIntersectusing an algorithm with O(nm) time complexity which should suite small to medium sized geometries until a more performant solution is implemented. #1348 - Fixed an issue where ends of lines where not considered as intersection points. #1348
- No additional changes.
- Exposed
ShieldSprites,ShieldSpriteandShieldSpriteAttributein support for mapbox designed route shields. #1336 - Added a fix so that no forbidden characters are found in the encoded URL. #1337
- Removed optimization coordinates limit check. #1339
- Added
EXCLUDE_CASH_ONLY_TOLLS(#1309) andEXCLUDE_UNPAVED(#1308) options toDirectionsCriteria. - Exposed
DirectionsRoute.Builder#routeIndexto allow construction when route object is not generated bymapbox-javalibrary. #1328 - Added data models for
MapboxShield. #1330
- Added
avoid_maneuver_radiusto Directions API params andavoidManeuverRadiustoRouteOptions. #1310 - Added encoding for parameters transformed with
RouteOptions.toUrl. #1317
- Refactoring related to URL building for
RouteOptions.toUrl. #1313
- No additional changes.
- Fixed
RouteOptions#toUrl()function. #1302
- Exposed
RouteOptions#toUrl()function.
- Exposed include-hov/hot parameters and added exclude list option #1296
- Added support for
active_directionencapsulated in lane banner component. #1294
- Added support for layers to
RouteOptionsobject. #1279 - Added support for missing country code and lanes blocked properties to
Incidentobject. #1288 - Added support for missing congestion numeric property to
LegAnnotationobject. #1290
- Added support for
metadataresponse from Directions API. #1282 - Added
max_widthandmax_heightto Directions API params. #1283
- Bumped
okhttpversion to4.9.0. It requires java 1.8 for compatibility. #1271
- Removed
accessTokenfromRouteOptionsand moved it toMapboxDirectionsinstead. 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
- Refactored
MapboxDirectionsto acceptRouteOptionsas an argument that defines request parameters #1265 - Moved the
requestUuidobject out ofRouteOptionsand intoDirectionsRoutesince the UUID is not a request parameter, it's a response value #1265 - Added
enableRefreshtoRouteOptionssince it is a route request parameter #1265 - Removed a separate
WalkingOptionsin favor of storing the parameter directly in theRouteOptions#1265 - Exposed
arriveByanddepartAtrequest parameters #1265 - Exposed
ANNOTATION_CONGESTION_NUMERICparameter #1265 - Updated documentation for various route request parameters #1265
- Exposed
DirectionsResponse#fromJson(json, route options, request uuid)that allows developers to provide information about the original route request which response they deserialize so that Nav SDK can operate correctly #1265 - Exposed
DirectionsRoute#fromJson(json, route options, request uuid)for same reason as above #1265 - Exposed
RouteOptions#fromUrlutility function that creates the object from the request URL which might be useful when paired with the above functions #1265 - Added default values for
RouteOptions: base URL, user, and geometry encoding (polyline6) #1265 - Added a List overload in
RouteOptionsfor coordinates, now there areRouteOptions#coordinates(string)andRouteOptions#coordinatesList(list).⚠️ If there are routes that were previously serialized with toJson methods and containedRouteOptions, 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 #1265 - Fixed an issue where coordinates were rounded to 6 decimal places instead of 7 decimal places that the
GeoJSONspecification expects #1265 - Changed the default encoding for MapMatching to be polyline6 and aligns it with regular route requests #1265
- Added a
Bearingobject that represents a pair of values for {angle, degrees} #1265 - Removed route request parameters verification in favor of letting the service respond with a correct error #1265
- Stopped serializing access tokens #1267
- Replaced
Closure@Nullableannotations with@NonNull#1268
- Exposed a method to pass a single boolean snapping closure parameter #1253
- Added support for route closures coming from the directions API #1250
- Fixed added SnappingClosures to response options #1232
- Added to RouteOptions SnappingClosures #1232
- Stopped releasing artifacts to jfrog and now to Mapbox's sdk-registry
- Fixed
DirectionsRefreshResponseflow: introducedDirectionsRouteRefreshand restricted dependency onDirectionsRoutewhich is a critical bug fixes. Even though this is a semver-breaking change, we're not considering it as one because the refresh feature was non-functional beforehand. #1225
- No additional changes.
- Add
BannerComponentSubTypetoBannerComponents#1222
- Expose
activeandvalidIndicationstoIntersectionLanes#1217
- Add
speedLimitUnitandspeedLimitSigntoLegStepto #1204
- Move
IncidenttoRouteLeg#1207
- Adjust javadoc info about Turf circle methods #1192
- Bump retrofit to 2.7.2 to be android API 30 compatible #1194
- Add
tunnelNamefield toStepIntersection#1197
- Exposed border crossings, rest stops and toll collection points #1188
Add fields to StepIntersection:
- Update VERSION_NAME: 5.4.1-SNAPSHOT -> 5.5.0-SNAPSHOT ((#1173)
- DirectionRoute: added
durationTypicalfor Route, Leg and Step; VERSION_NAME: updated to5.4.1-SNAPSHOT(#1172) - Remove min/max latitude/longitude range annotations (#1168)
- Update annotation for NonNull attributes. (#1087)
- [geocoding] Correct handling of a single element batch geocoding response (#1160)
- [turf] Ported TurfMeasurement.center() method (#1150)
- [geojson] move gson package to com.mapbox.geojson.internal (#1153)
- Update maneuver modifier type to be public (#1146)
- Add step maneuver modifier constants (#1142)
- Refactor turf measurement functions (#1139)
- remove stale bot settings for this repo (#1138)
- Fix typo in DirectionsJsonObject documentation (#1137)
- Adding flexibility to Matrix API builder to set custom max coordinate list size limit #1133
- Updated SNAPSHOT link in README #1126
- Use Strings instead of Lists to store data inside RouteOptions #1123
- Bearing formatting fix #1121
- RouteOptions and MapboxDirections refactoring #1118
- Bumped StaticMapCriteria guidance day and night to v4 #1116
- Removed typo in
BannerViewclass javadocs #1111 - Extract refresh models into separate module #1107
- Bumped
StaticMapCriteriaconstant style strings to new versions #1109 - Add
toBuilder()method toRouteOptionsandWalkingOptions#1110 - Split Directions models from the implementation into a separate module #1104
- Update to AndroidX annotation #1095
- Rename references of
mapIdstotileSetIds[#1047](https://github.com/mapbox/mapbox-java/pull/ 1047) - Removed deprecated getCall() method in IsochroneService [#1099](https://github.com/mapbox/mapbox-java/pull/ 1099)
- Directions junction view api #1097
- Add banner component type #1098
- Remove references to enterprise from geocoding docs #1084
- Add network interceptor to directions [#1093](https://github.com/mapbox/mapbox-java/pull/ 1093)
- Replaced NotNull with NonNull annotation in TurfConversion class [#1092](https://github.com/mapbox/mapbox-java/pull/ 1092)
- BannerText, RouteOptions builders: removed nullable annotations [#1091](https://github.com/mapbox/mapbox-java/pull/ 1091)
- Adding and adjusting repo issue templates [#1069](https://github.com/mapbox/mapbox-java/pull/ 1069)
- Adding combine turf method [#1008](https://github.com/mapbox/mapbox-java/pull/ 1008)
- Add turf area measurement method. #1079
- Added intersection search support to MapboxGeocoding #1074
- Added support for Turf polygonToLine method #1075
- Fixed up bintray publish script, generate sources and javadoc jars #1065
- Keep *.java files in source.jar artifacts #1064
- Added setup for bintray release process #1037
- Add an API to check if a custom shifter is set. #1062
- Added new nearestPointOnLine default and custom distance unit #1058
- Adjustments to TurfMeasurement#bboxPolygon() to return a Feature instead of Polygon #1055
- Added fuzzyMatch support to MapboxGeocoding #1051
- Add Interceptor support to Directions Refresh API and enable Debug logging #1039
- Add square() api to TurfMeasurement #1019
- Adjusted link to Turf installation instructions #1038
- Removed the last updated line from ported Turf method list #1032
- Making GeoJson extend Serializable #1034
- Add support for Turf envelope #1020
- Added walking options serialize names adjustments #1028
- Added walking options #991
- Adding explode turf method #1007
- Adding coordAll() versions for Feature, FeatureCollection, and Geometry parameters #1009
- Added @Keep annotation to ease integration of geojson library #1005
- Fix possible IndexOutOfBoundsException exception #1013
- Adding BoundingBoxPolygon turf method #1006
- Feature.get*Property should return null for non-existent property #1001
- added overloaded method bbox that takes in a BoundingBox #999
- Adding userAgent parameter to Isochrone request retrofit call URL #997
- Exclude *.java from being added to library jars #992
- Adjust @Nullable and @NonNull annotations to match what comes from Directions API #990
- Add Isochrone API support #988
- Remove sonarqube integration #986
- Remove android tooling #984
- Remove dependency of Turf library on services-core #981
- Update MapMatching to use a POST request if the url for a GET request is larger than the maximum allowed size #978
- Update Directions to use a POST request if the url for a GET request is larger than the maximum allowed size #977
- Add Interceptor support for MapboxRouteTiles #976
- Add POST support to Directions #975
- Add explicit US locale to String.Format of bounding box #973
- Removed the use of AutoValue from geoJson implementation Deprecated PointDeserializer, PointSerializer, BoundingBoxDeserializer and BoundingBoxSerializer #953
- Directions refresh was not being included in services artifact #966
- Add waypointIndices to MapboxDirections, update MapboxMapMaptching to have waypointIndices instead of waypoints #959, #961, #962, #963
- Add Interceptor and EventListener to MapboxDirections #958
- Directions Refresh new implementation #955
- Update gradle tools versions #954
- Add getting mapmatching through POST method #948
- Do not use BigDecimal for rounding #938
- Remove coordinate limit from MapboxMapMatching #940
- Remove character waypoint names limit from mapbox map matching #941
- Adding additional tests to files related to coordinate shifting #936
- Added waypoint targets to MapboxDirections request #942
- Adding Shifter implementation #922
- Fix v4.1.1 release
- Added wrappers for route tile APIs Feature #913
- Add annotations, approaches request parameter & distances to the response object #911
- Add interceptor and network interceptor support to Mapbox Speech #910
- Remove dependency on BindingContextFactory #909
- Archive stale issues and pull request #906
- Added StepManeuver.Type for ease of use #898
- Route options should be serialized/deserialized using backend names #895
- BoundingBox deserialization #891
- downgrade to java 7 #876
- The first and last positions should be equivalent in polygon ring Bug Ready For Review refactor #886
- Fix circle generation in TurfTransformation #885
- coordinates() should have @NotNull annotation in Geometry implementations #882
- Tilequery API #879
- all accesToken fields should be annotated with @nonnull #875
- DirectionsRoute#fromJson RuntimeException #864
- Fixed typo in static map annotations and added tests for map annotations #855
- Added toJson and fromJson to Directions models #854
- Upgraded dependencies #853
- Missing space #846
- Add voiceLanguage to MapMatchingMatching #847
- add reverseMode parameter to Geocoding Service #843
- doc changes [#840) #835
- static map request format #836 #839
- add waypoint names #831
- add approaches to RouteOptions #830
- Added sub - to BannerInstructions #823
- Added directions & active - to BannerText #823
- Properties passed to Feature.fromGeometry and CarmenFeature.properties should be Nullable #815
- Move TurfAssertions.getCoord() to TurfMeta.getCoord() to follow Turf.js #818
- Semicolon should be used as radiuses and timestamps delimiters #821
- Added approaches request paramenter to Directions and MapMatching #827
- Added voiceLocale to DirectionsRoute #804
- Added line-slice-along() and degreesToRadians() to Turf functions(#800)
- Removed java.awt.Color dependency in static map #793
- Add missing RouteOptions params for MapMatching #792
- Added BoundingBox.fromLngLats() for consistency #789
- added toBuilder() to model classes #787
- Adjust maxspeed annotation #777
- Added MapMatching Error reporting #758
- MapMaptchingMatching to DirectionsRoute #759
- Add Abbreviations and type to BannerComponent #762
- Add voiceUnits to MapMatching #764
- Implemented Comparable in BannerComponents #768
- Adds a bbox() utility method for Geometry #769
- Adds a method to Geometry to load from json #770
- Add MaxSpeed Annotation to Directions API #772
- Rework dependency tree, add api instead of implementation
- Remove unprintable chars in api request
- Make GeometryCollection a Geometry as specified in the spec at sections 1.4 and 3.1.8
- Add Degrees and Driving Side to BannerText
- Add tunnel and restricted to possible values of exclude criteria
- Turf functions name changes
- Make getOkHttpClient synchronized
- Add type and modifier to BannerText
- Add baseUrl to RouteOptions
- Added back fromLngLats() that take double arrays for coordinates #722
- Adds
waypoints,roundaboutExits,voiceInstructions,bannerInstructionsparams to MapMatching API #718 - Added back Bounding box deserializer to
CarmenFeature#712
- Added static initializer methods with parameters accepting single objects rather than list in GeoJSON classes - #691
- Annotations added to the
PolylineUtilsclass. - #687 - Adds check to
PointOnLineTurf method to ensure 2 or more non-identicalPoints are used. - #689 - Added a missing return statement inside the internal
MapboxDirectionsresponse code. - #685 - User header agent constant is now using the generated BuildConfig file to add device information (Identical behavior to what was happening in 2.X). - #679
- Save access token in RouteOptions. - #669
- Resolved bug where the generated type adapter in
CarmenFeatureclass wasn't being used causing theSeralizedNameannotation to be ignored. - #698
- Banner instructions added to the Directions API.
- DrivingSide API in
RouteStepclass added. CarmenFeatureclass now hastoJsonandfromJsonAPIs.- Direction Bearing param is no longer placed in order added, but rather, the matching of coordinate.
RouteOptionsobject added to Directions API to allow for making identical request.- In the Directions API, errors returned from server are now returned in the
messageAPI. - Exclusions added to the directions API.
- Mapbox builders no longer require unnecessary generics.
- Model classes are now serializable.
- Directions Matrix API changed to Matrix API.
- Directions Optimization API name changed to Optimization API.
- Object classes now contains
equals,hash, andtoStringmethods. - Gradle
javaplugin switched tojava-library. - Annotations library added so methods and classes can convey more information.
- Model and GeoJSON classes made immutable using AutoValue.
- Directions API UUID added inside the
DirectionsResponsemodel. - Position object removed in favor of GeoJSON
Pointfor coordinate representation. - Support for direction
classhas been added. - Requesting
RoundaboutExitis now possible and adds an additional instruction when traversing inside a roundabout or rotary. - Retrofit, OkHttp, and other dependencies updated to use the latest.
- API service module split up in project to reflect individual Mapbox APIs.
- Updates OkHttp version to
3.10.0#727 - Moves internal method previously used in OkHttp and places it directly into telemetry package #727
- Deactivate location engine when shutting down telemetry service #638
- Add obtain location engine type javadoc #635
- Bump Lost version to 3.0.4 #636
- Downgrade minimum sdk version to 14 #630
- Revert mapbox-android-core dependency PR #627
- mapbox-android-core dependency #622
- Add telem audio type support #604
- Add telem cancel rating and comment track support #617
- Add telem percent time in foreground and in portrait track support #616
- Add telem absolute distance to destination support #615
- Add telem current location engine being used track support #605
- Get correct volume level #600
- Flush Navigation Events Manually #601
- NPE for BatteryStatus #602
- Fix for Matrix source and destination returning null rather than the true value #588
- Add optional locationEngine dependencies #502
- set sdkIdentifier and sdkVersion when pushing turnstile event #574
- Bumped Navigation Events
EVENT_VERSIONvariable to version 3 #570 - Adds missing event parameters to the NavigationEvent methods #569
- Adds newUserAgent to telemetry #568
- Fixes arrival timestamp formatting #567
- Omit null optional fields in Nav events #566
- Adds missing device attribute to Navigation events #565
- Adds roundaboutExits param to MapboxDirections #562
- Introduce setDebugLoggingEnabled API #549
- Adds setter for session rotation time #544
- Updates release script for CircleCI #541
- Adds ProGuard rules for Optimization and Directions Matrix API #516
- Adds support for multiple languages in geocoder auto complete widget: [#512}(#512)
- Adds support for multiple languages in geocoder API: #512
- Reduced API access in
GeocoderAdapter.javato non-public since user has no reason for using: #512 - Auto complete widget now extends to Support Library widget: #512
TYPE_DISTRICTandTYPE_LOCALITYresult filters added: #512- Adds
place_typesupport in Carman Feature: #512 - Adds
matching_textsupport in Carman Feature: #512 - Adds
matching_place_namesupport in Carman Feature: #512 - Adds
languagesupport in Carman Feature: #512 - Several Javadoc improvements: #512
- Updated fixtures and test: #512
- Adds exception and test for Turf methods which require at least 2 coordinates: #513
- Resolves Fatal Exception: java.lang.OutOfMemoryError with the TelemetryClient: #467
- Fixes Optimization API
getRadius()method which wasn't being converted to a string: #506 - Fixes Optimization API
getBearing()method which wasn't being converted to a string: #506 - Adds support for Optimization API language parameter: #506
- Adds support for Optimization API distributions parameter: #506
- Adds missing Optimization API
waypoint_indexinside the OptimizationWaypoint class: #506 - Deprecates Optimization API
annotationin favor of the correct nameannotations: #506 - Adds directions API support for languages #504
- Adds directions API support for congestions annotation: #469
- Adds
alternatives_countto MapMatchingTraceoint class: #507 - Adds support for the language param in MapMatching API: #507
- Mock LocationEngine exposed in
libandroid-services: #476 - Adds Convert distance methods in TurfHelper class: #476
- Downgrade LOST to v1.1.1 to address stability issues #493
- Update to LOST
3.0.1which fixes a bug where location requests were too aggressive #486 - Expose
MockLocationEngineas part of the public API #476 - Update style versions to
v10and add traffic styles #478 - Fix static marker annotation URL generation #479
- Add convert distance method to
TurfHelper#481 - Add new SSL certs for 2018/2019 #484
- Updates to LOST
3.0.0 - Fixed location timestamp issue
- Updated library dependencies
- correct units for
LegAnnotation.speed
- The Mapbox Navigation SDK for Android has been moved into its own repository. Code and tickets can now be followed on mapbox-navigation-android #439
- Introduced support for the Optimized Trips API #437
- Added support for the Directions Matrix API. This replaces the Distance API #418, which is now deprectated #405
- Added support for direction annotations #417
- Added
setInterval,setFastestIntervalandsetSmallestDisplacementto allow configurable LocationEngine parameters #402 - Added setters in
DirectionsResponseto simplify object creation #422 - Added
weightandweight_namesupport to the Directions API response #438 - Fixed issue where some coordinates were overwritten when setting all origin, destination and a coordinates list inside the directions builder #420
- Fixed bug when using
TurfMisc.pointOnLine()where incorrect warnings would state yourPositionvalues were outside the recommended range #416 - Enhanced coordinates formatting to remove trailing zeros #424
- Mapbox Navigation SDK #346
- Introduce support for Mapbox Distance API #219
- Update Map Matching API to support new
v5 - Divide library into smaller modules to reduce method count on Android projects #251
- AppEngine support #344
- Introduce support for Mapbox Telemetry #282
- Shared improvements across clients
- Directions improvements:
- Geocoding improvements:
- Make
ServicesExceptionandTurfExceptionunchecked exceptions
- Mapbox Navigation SDK
- Bearing query parameter and rotary convenience methods added to the Directions API
- Base URL method setting added to geocoder autocomplete widget
- AppEngine support
- Introduce support for Mapbox Distance API
- Update Map Matching API to support new
v5 - Divide library into smaller modules to reduce method count on Android projects (
libjava-core,libjava-geojson,libjava-services,libjava-services-rx,libandroid-telemetry,libandroid-services,libandroid-ui) - Introduce support for Mapbox Telemetry
- Added reusable components for permission and connectivity management
- Abstracted the location engine from a specific provider and provide default implementations
- Shared improvements across clients:
- RxJava support
- Enabled setting a base URL to facilitate testing
- Directions improvements:
- Added direction v5 lanes
- Added support for the
driving-trafficprofile - Added support for polyline6
- Remove support for
v4
- Geocoding improvements:
- Batch requests support
- Added landmark, limit, country parameters support
- Added cancel method, setting multiple types, and language method setting to autocomplete widget
- Geocoding: added poi.landmark type
- GeoJson: Feature properties are now properly serialized and raw array tests have been added
- Introduce checkstyle to the project
RouteUtilsclass to simplify work withRouteLegobjectsgeojson-tidyintegrated with Map Matching client- Added Turf's
midpoint,along, andwithinmethods - Added an example to showcase Turf's
lineslice - Geocoding widget now supports the
bboxparameter
- Bring back
toString()method inCarmenFeature - Fixes regresion in
GeocoderAutoCompleteView
Full changelog: https://github.com/mapbox/mapbox-java/issues?q=milestone%3Av1.2.1+is%3Aclosed
- Support for the Map Matching API
- Improved Geocoder API (including support for
wikidataandbbox) - Better Static Image API
- Some Turf methods ported to Java:
TurfMeasurement.bearing,TurfMeasurement.destination,TurfMeasurement.distance,TurfMeasurement.lineDistance,TurfHelpers.distanceToRadians,TurfHelpers.radiansToDistance,TurfMisc.lineSlice simplify-jsported to Java- Updated to
libjavav1.2.0 - Several examples added to the TestApp
- Improved documentation
Full changelog: https://github.com/mapbox/mapbox-java/issues?q=milestone%3Av1.2.0+is%3Aclosed
- Support for directions API v5
- Support for Maki 3 and directions icons in Test App
- Fixed a bug where locale was different from
Locale.US - Updated to
libjavav1.1.0 - Removed extra dependencies to reduce method count
Full changelog: https://github.com/mapbox/mapbox-java/issues?q=milestone%3Av1.1.0+is%3Aclosed
- Initial release: Java module with no Android dependencies
- Support for Geocoding API v5
- Support for Directions API v4 and v5
- Support for Static API v1
- RxJava support
- Support for GeoJSON objects
- Polyline encoder and decoder
- Initial release
- Full replacement for the stock
AndroidGeocoder - Geocoder autocomplete widget based on Android's
AutoCompleteTextView - Utility class to handle the new permission system in 6.0
- TestApp with sample code for directions v4 and v5, geocoding (reverse, widget, service), and static image with Picasso