mapbox-gl
Advanced tools
Changelog
0.33.0 (March 8, 2017)
maxZoom
from 20 to 22 #4333tiledata
and tiledataloading
events in favor of sourcedata
and sourcedataloading
. #4347mapboxgl.util
is no longer exported #1408"type": "categorical"
is now required for all categorical functions. Previously, some forms of "implicitly" categorical functions worked, and others did not. #3717Map#fitBounds
to accept different values for top, bottom, left, and right padding
#3890FullscreenControl
for displaying a fullscreen map #3977MapDataEvent#isSourceLoaded
always returned false #4254MapEventData
is passed through on calls Map#flyTo
#4342Map#isMoving
#4350$id
in filters #4236 #4237layers
parameter to queryRenderedFeatures
#4331minZoom
and maxZoom
values #4324src/style-spec
and test/unit/style-spec
).Changelog
0.32.0 (Jan 26, 2017)
Map#isSourceLoaded
method #4033Expires
and Cache-Control
HTTP headers #3944around=center
option to scrollZoom
and touchZoomRotate
interaction handlers #3876mapbox-gl-rtl-text
plugin to support right-to-left scripts #3758canvas
source type #3765Map#isMoving
method #2792Changelog
0.31.0 (Jan 10 2017)
renderWorldCopies
option to the Map
constructor to give users control over whether multiple worlds are rendered in a map #3885Map
pitch or bearing is changed #3938undefined
source #3903mapbox-gl-test-suite
into this repository #3834Changelog
0.30.0 (Jan 5 2017)
gl.MAX_RENDERBUFFER_SIZE
#2893geojson
source and specifies a source-layer
#3896Map#setStyle
performance in some cases #3853showTileBoundaries
with no sources #3849Changelog
0.29.0 (December 20 2016)
Map#setStyle
smoothly transition to the new style #3621styledata
, sourcedata
, styledataloading
, and sourcedataloading
eventsisSourceLoaded
and source
properties to MapDataEvent
#3590circle-stroke-*
style properties #3672container
element doesn't exist #3719watchPosition
option to GeolocateControl
#3739positionOptions
option to GeolocateControl
#3739aria-label
to map canvas #3782icon-offset
#3791Map#removeSource
#3602gl-matrix
#3734line-color
property functions #3639Map#fitBounds
#3655Map#setStyle
#3829Map
from emitting a contextmenu
event on Windows browsers #3822Changelog
0.28.0 (November 17 2016)
Map#addLayer
and Map#removeLayer
#3584Map#moveLayer
#3584fill-opacity
rendering when using a fill-pattern
#3598AssertionErrors
from pitching raster layers by only calling Worker#redoPlacement
on vector and GeoJSON sources #3624Changelog
0.27.0 (November 11 2016)
fill-extrude-height
and fill-extrude-base
properties of fill
render type with a separate fill-extrusion
type (with corresponding fill-extrusion-height
and fill-extrusion-base
properties), solving problems with render parity and runtime switching between flat and extruded fills. https://github.com/mapbox/mapbox-gl-style-spec/issues/554fill-extrusion-height
, fill-extrusion-base
) from "magic numbers" to meters. #3509mapboxgl.Control
class and change the way custom controls should be implemented. #3497mapboxgl.util
functions: inherit
, extendAll
, debounce
, coalesce
, startsWith
, supportsGeolocation
. #3441 #3571mapboxgl.util
is deprecated and will be removed in the next release. #1408mapboxgl.workerCount
) for better performance. #3565categorical
style function type when input values are strings. #3384https
). #3571Map#getMaxZoom
and Map#getMinZoom
methods #3592background
layers. #3521raster-fade-duration
property. #35320
). #3463queryRenderedFeatures
working incorrectly on colliding labels. #3459map.loaded()
always returned true
when using raster tile sources. #3302failed to invert matrix
error. #3518queryRenderedFeatures
throwing an error if no parameters provided. #3542\n
in a text field resulted in an error. #3570npm install mapbox-gl
pulling in all devDependencies
, leading to an extremely slow install. #3377Changelog
0.26.0 (October 13 2016)
fill-extrude-height
and fill-extrude-base
style properties (3d buildings) :cityscape: #3223colorSpace
interpolation to functions #3245identity
function type #3274'pitch-alignment': 'map'
#3243dataloading
events for styles and sources #3306Control
suffix to all controls :warning: BREAKING CHANGE :warning: #3355ref
s automatically and get rid of user-specified ref
s :warning: BREAKING CHANGE :warning: #3486Marker#setLngLat
is called #3294touchend
on Android Chrome #3319tile
property to data
events fired when a tile is removed #3328