- Deprecation Distance API has been deprecated and is now referred to the Matrix API. This renames .getDistance() method to .getMatrix(). #177
- Deprecation Renamed .getStaticURL() method to .getStaticClassicURL() #152
- Feature Add Styles Static API #152
- Feature Add Tilesets API #165
- Feature Add Tokens API #155
- Feature Add response.nextPage() method for pagination of list resources #159
- Bug Avoid double URL encoding of geojson static overlays #156
- Update Remove start and reverse opts for datasets listings
- Update Clarify account/profile property for Directions API #150
- Update Miscellaneous documentation polish
Special thanks to @andrewharvey for significant contributions to this release
- Bug Add
autocomplete
param to geocoding endpoint. #126 - Bug Install Promise polyfill only when needed. #122
- Update Update Map Matching to
v5
. #128 - Update Update Directions to
v5
. #68
- Add
limit
option to geocoder API - Add
poi.landmark
type to geocoder API - Fixes a bug where the global
Promise
object was overwritten by a polyfill
- Adds the concept of a reponse object
- Update all callbacks to provide
err, body, response
. - Change default returned value for promises from
body
toresponse
. - Remove
client.batchFeatureUpdate
.client.insertFeature
orclient.destroyFeture
should be used now.
- Update tilestat service for new API.
- Add
bbox
option to geocoder API
- Changes a major API! Geocoding is now named geocoding everywhere, so the
sub-require is
mapbox/lib/services/geocoding
, not, like it used to be,mapbox/lib/services/geocoder
- The
DatasetClient#bulkFeatureUpdate
method is renamedDatasetClient#batcFeatureUpdate
to match the rest of the Mapbox ecosystem.
- Add types & country options to geocoder #65
- Allow pagination options if passed in listFeatures #61
- Support query params for Directions requests #58
- Adds a
precision
option to geocodeForward and geocodeReverse methods: this allows you to customize how much decimal precision is provided wth proximity parameters and the location of geocodeReverse requests, potentially increasing cache-friendliness.
- Fixes geocodeReverse method
- Include Mapbox Distance in default client
- Added support for the Distance API
- Improved error handling
- Added support for Tileset statistics API (in preview)
- Added support for Upload API
- Added support for Datasets API (in preview)
- Fixed bug in forward geococoding
- Allows endpoint to be customized
- Support for sub-requiring individual services
- Added
surface
method that connects to Mapbox Surface API
- Added
matching
method that connects to the Mapbox Map Matching API
- Added
getDirections
method that connects to the Mapbox Directions API
- Added
geocodeForward
andgeocodeReverse
that connect to the Mapbox Geocoding API