mapbox-gl
Advanced tools
Changelog
0.25.0 (September 29 2016)
Evented#off
now require two arguments; omitting the second argument in order to unbind all listeners for an event
type is no longer supported, as it could cause unintended unbinding of internal listeners.data
and dataloading
events (#3255)auto
value for style spec properties (#3203)LngLat#convert
(#3232)tiles
field is omitted from the RasterTileSource#serialize
method (#3259)div
within the Navigation
control <button>
with a span
element (#3268)Marker
instances to be translated to non-whole pixel coordinates that caused blurriness (#3270)Changelog
0.24.0 (September 19 2016)
mapbox://
URLs #3113Worker
script Blob
size #3158package.json
#3174text-field
#3179Map#queryRenderedFeatures
on nonexistent layer #3196Scale
control #3160Map#getBounds
#3081Map#setFilter
and map rotation on iOS 10 #3207Changelog
0.23.0 (August 25 2016)
line-color
property functions #2938Scale
control #2940 #3042Popup
offset
option #1962Marker#bindPopup
method #3056WebWorker
pool #2952LatLngBounds
obey its documented argument order (southwest
, northeast
), allowing bounds across the dateline #2414 :warning: BREAKING CHANGE :warning:fill-opacity
property functions to not render as expected #3061Changelog
0.22.1 (August 18 2016)
Map#querySourceFeatures
#3022Map#loaded
to return true while there are outstanding tile updates #2847Changelog
0.22.0 (August 11 2016)
GeoJSONSource
, VideoSource
, ImageSource
constructors are now private. Please use map.addSource({...})
to create sources and map.getSource(...).setData(...)
to update GeoJSON sources. #2667Map#onError
has been removed. You may catch errors by listening for the error
event. If no listeners are bound to error
, error messages will be printed to the console. #2852$id
#2888close
event to Popup
s #2953offset
option to Marker
#2885error
events without any listeners to the console #2852Source
interface to prepare for custom source types #2667DataCloneError
in Firefox and IE11 #2559moveend
listeners #2944fill-outline-color
from being unset #2964Changelog
0.21.0 (July 13 2016)
line-offset
, reversing the direction of the offset. #2889text-pitch-alignment
style property #2668mapbox://
URLs #2702icon-text-fit
and icon-text-fit-padding
style properties #2720icon-rotate
#2738fill-opacity
#2733Map#mouseout
events #2777Marker
class #2725 #2810{quadkey}
URL parameter #2805circle-pitch-scale
style property #2821Map#loaded
returning true while there are outstanding tile updates #2847queryRenderedFeatures
in Safari and Firefox #2822mapboxgl#supported()
returning true
in old versions of IE11 mapbox/mapbox-gl-supported#1Changelog
0.20.1 (June 21 2016)
*-translate
properties via setPaintProperty
(#2762)Changelog
0.20.0 (June 10 2016)
workerCount
constructor option #2666locationPoint
and pointLocation
#2690version
property to mapboxgl #2660circle-opacity
and circle-blur
#2693queryRenderedFeatures
#2694Changelog
0.19.1 (June 2 2016)
Changelog
0.19.0 (May 31 2016)
fill-color
and fill-outline-color
#2629has
and !has
filter operators mapbox/feature-filter#15trackResize
option to Map
#2591fill-pattern
from a fill layer #2534line-pattern
and fill-pattern
rendering #2596queryRenderedFeatures
before the map is loaded #2621