@mapbox/mapbox-sdk
Advanced tools
Changelog
0.12.0
bounding box
parameter as a position option for Static#getStaticImage.
padding
optional parameter for Static#getStaticImage
.Changelog
0.11.0
fresh
parameter to Styles#getStyle
to bypass the cached version of the style.routing
parameter to Geocoding#forwardGeocode
and Geocoding#reverseGeocoding
.driving-traffic
profile to Optimization#getOptimization
.sortby
parameter to Datasets#listDatasets
.Tilesets#updateTileset
.fallback
, mapboxGLVersion
and mapboxGLGeocoderVersion
to Styles#getEmbeddableHtml
.Tilesets#listTilesetJobs
and Tilesets#listTilesetSources
.Uploads#createUpload
's mapId
parameter is now tileset
, and tilesetName
is now name
to be consistent across the API. mapId
and tilesetName
are deprecated, but will still work and may be removed in a future release.private
option to Uploads#createUpload
.proximity
parameter in forwardGeocode
, where longitude or latitude coordinates are 0) were not being applied correctly.Changelog
0.10.0
Tilesets#listTilesets
: type
, limit
, sortBy
, start
and visibility
.Tilesets#tileJSONMetadata
method to retrieve a Tileset TileJSON metadata.metadata
parameter to Styles#getStyle
to preserve mapbox:
specific metadata from the style.deleteTileset
, createTilesetSource
, getTilesetSource
, listTilesetSources
, deleteTilesetSource
, createTileset
, publishTileset
, tilesetStatus
, tilesetJob
, listTilesetJobs
, getTilesetsQueue
, validateRecipe
, getRecipe
, updateRecipe
.draft
parameter to Styles#getStyle
, Styles#deleteStyleIcon
and Styles#getStyleSprite
, Styles#getEmbeddableHtml
to work with draft styles.Static#getStaticImage
, Styles#getStyleSprite
and Styles#getFontGlyphRange
.Styles#getStyleSprite
.position.bearing
to 0
if position.pitch
is defined and position.bearing
is not in the Static API.tilesets.getRecipe
in tilesets API example.Changelog
0.8.0
addlayer
, setfilter
, and layer_id
.insertOverlayBeforeLayer
is now before_layer
in the Static Images API service. This change uses the API's name for the field and to support that the field can be used with the new style parameter addlayer
.Changelog
0.7.1
geometry
key to Tilequery service.Changelog
0.7.0
Changelog
0.6.0
Tokens#updateToken
can now set null
value to referrers
property to delete the property.Tokens#updateToken
can now set null
value to resources
property to delete the property.referrer
{s} to allowedUrl
{s}.Changelog
0.5.0
Tokens#createToken
and Tokens#updateToken
can now include the referrers
property.Changelog
0.4.1
OPTIONS
requests that were rejected by the server. This bug surfaced in Firefox with the Tilequery API, but may possibly have affected some other endpoints and some other browsers.