You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing will be required to confirm this doesn't break existing functionality
The Changelog claims there is a few breaking changes from the version currently pinned (0.35.1).
here are the changes:
0.40.1 (September 18, 2017)
🐛 Bug fixes
Fix bug causing flicker when zooming in on overzoomed tiles #5295
Remove erroneous call to Tile#redoPlacement for zoom-only or low pitch camera changes #5284
Fix bug where CanvasSource coordinates were flipped and improve performance for non-animated CanvasSources #5303
Fix bug causing map not to render on some cases on Internet Explorer 11 #5321
Remove upper limit on fill-extrusion-height property #5320
0.40.0 (September 13, 2017)
⚠️ Breaking changes
Map#addImage now requires the image as an HTMLImageElement, ImageData, or object with width, height, and data properties with the same format as ImageData. It no longer accepts a raw ArrayBufferView in the second
argument and width and height options in the third argument.
canvas sources now require a contextType option specifying the drawing context associated with the source canvas. #5155
✨ Features and improvements
Correct rendering for multiple fill-extrusion layers on the same map #5101
Add an icon-anchor property to symbol layers #5183
Add a per-map transformRequest option, allowing users to provide a callback that transforms resource request URLs #5021
The option watchPosition has been replaced with trackUserLocation
The camera operation has changed from jumpTo (not animated) to fitBounds (animated). An effect of this is the map pitch is no longer reset, although the bearing is still reset to 0.
The accuracy of the geolocation provided by the device is used to set the view (previously it was fixed at zoom level 17). The maxZoom can be controlled via the new fitBoundsOptions option (defaults to 15).
New option showUserLocation to draw a "dot" as a Marker on the map at the user's location
An active lock and background state are introduced with trackUserLocation. When in active lock the camera will update to follow the user location, however if the camera is changed by the API or UI then the control will enter the background state where it won't update the camera to follow the user location.
New option fitBoundsOptions to control the camera operation
New trackuserlocationstart and trackuserlocationend events
New LngLat.toBounds method to extend a point location by a given radius to a LngLatBounds object
Fix LogoControl logic to update correctly, and hide the <div> instead of removing it from the DOM when it is not needed Review and update dependencies #4842
Fix GeoJSONSource#serialize to include all options
mapbox-gl-js-bower has been updated with v0.40.1:
https://github.com/archesproject/mapbox-gl-js-bower/tree/v0.40.1
Testing will be required to confirm this doesn't break existing functionality
The Changelog claims there is a few breaking changes from the version currently pinned (0.35.1).
here are the changes:
0.40.1 (September 18, 2017)
🐛 Bug fixes
CanvasSource
coordinates were flipped and improve performance for non-animatedCanvasSource
s #5303fill-extrusion-height
property #53200.40.0 (September 13, 2017)
Map#addImage
now requires the image as anHTMLImageElement
,ImageData
, or object withwidth
,height
, anddata
properties with the same format asImageData
. It no longer accepts a rawArrayBufferView
in the secondargument and
width
andheight
options in the third argument.canvas
sources now require acontextType
option specifying the drawing context associated with the source canvas. #5155✨ Features and improvements
fill-extrusion
layers on the same map #5101icon-anchor
property to symbol layers #5183transformRequest
option, allowing users to provide a callback that transforms resource request URLs #5021text-max-width
#5067text-letter-spacing
#5071line-join
#5020Map#addImage()
#5181🐛 Bug fixes
Marker#getElement()
method #5242layer.minzoom
#2929center
option #5042 (h/t @karthikb351)Map#addLayer()
with an inline source would mutate its input #4040NavigationControl
triggered mouse events unexpectedly #5148NavigationControl
compass caused an error in IE 11 #4784fast-stable-stringify
module #5152Marker#togglePopup()
failing to return the marker instance #5116🔧 Development workflow improvements
0.39.1 (July 24, 2017)
🐛 Bug fixes
0.39.0 (July 21, 2017)
GeolocateControl
breaking changes re:#4478 MSM Status Panel Upates #4479watchPosition
has been replaced withtrackUserLocation
jumpTo
(not animated) tofitBounds
(animated). An effect of this is the map pitch is no longer reset, although the bearing is still reset to 0.maxZoom
can be controlled via the newfitBoundsOptions
option (defaults to 15).Marker
s at their center by default Allow incomplete concept collections to be loaded into the system #5019 @andrewharveysignificantRotateThreshold
for theTouchZoomRotateHandler
Dockerfile is broken in stable/4.4.2 release #4971, @dagjomar✨ Features and improvements
GeolocateControl
re:#4478 MSM Status Panel Upates #4479, @andrewharveyshowUserLocation
to draw a "dot" as aMarker
on the map at the user's locationtrackUserLocation
. When in active lock the camera will update to follow the user location, however if the camera is changed by the API or UI then the control will enter the background state where it won't update the camera to follow the user location.fitBoundsOptions
to control the camera operationtrackuserlocationstart
andtrackuserlocationend
eventsLngLat.toBounds
method to extend a point location by a given radius to aLngLatBounds
objectpackage.json
Bump mathjs from 3.20.1 to 5.9.0 #4809, @tomscholzline-width
Adds update project to load_package command #4773text-anchor
improve check for createdb privileges during setup_db re: #4941 #4997text-justify
Tabbed Report Configs #5000maxTileCacheSize
option Prevents extra constraint records from getting saved to the database #4778, @jczaplewicon-pitch-alignment
andcircle-pitch-alignment
properties Bump codemirror from 5.34.0 to 5.47.0 #4869 Large and Intersecting Polygons causing graphical glitches #4871Map#getMaxBounds
method Prevents syncing errors #4890, @andrewharvey @lamuertepeludalocalIdeographFontFamily
) to use TinySDF to avoid loading expensive CJK glyphs fix issue with adv. search and related resource select, re #4664 #4895config.API_URL
includes a path prepend it to the request URL Cherry-pick PR 4918 to master #4995supercluster
version to exposecluster_id
property on clustered sources #5002🐛 Bug fixes
FullscreenControl
on unsupported devices 4837 mobile sync logging #4838, @stepankuzminloadData
to the same worker every time 4771 componentize search #4877load
Bump leaflet from 1.0.3 to 1.5.1 #4870LogoControl
logic to update correctly, and hide the<div>
instead of removing it from the DOM when it is not needed Review and update dependencies #4842GeoJSONSource#serialize
to include all optionsGlyphSource#getSimpleGlyphs
refactors map card component #4992setStyle
to reload raster tiles Updated Travis CI test code to additionally test against py3.6 #4852Map#queryRenderedFeatures
would error when returning no results Limit the search results to 10000 records & corresponding # of pages #4993Map#areTilesLoaded
would always be false onsourcedata
events for reloading tiles refactoring, cleanup and fixes #4987🛠️ Development workflow changes
package.json
Moves hash bang line to top of manage.py #4819 @tomscholz0.38.0 (June 9, 2017)
New features ✨
Bug fixes 🪲
webglcontextlost
event #4725 @cdawiflyTo
to within the map's specified min- and maxzoom to prevent undefined behavior #4726 @ IvanSanchezflyTo
calls #4761queryRenderedSymbols
logic to better account for pitch scaling #4792text-keep-upright
aftertext-offset
to keep labels upright when intended #4779 [Potentially breakingAccessibility improvements 🔉
aria-label
to popup close button #4799 @andrewharveyDevelopment workflow + testing improvements 🔧
pitchWithRotate
option #4800 @simast0.37.0 (May 2nd, 2017)
LngLat#wrapToBestWorld
New features 🚀
Map#isStyleLoaded
andMap#areTilesLoaded
events allows all cards in descriptor function #4321file:
protocol Bump codemirror from 5.34.0 to 5.44.0 #4649 @oscarfontsBug fixes 🐛
Map#addImage
Stable/4.4.x #4644Development workflow improvements 💻
mapboxgl-
prefix on all classes Updates complex widgets in provisional edit review #4584 @asantos30260.36.0 (April 19, 2017)
New features ✨
Bug fixes 🐛
fill_outline
shaders add some more info on project management, reorganize, #4494 #4600Camera#easeTo
interpolation on pitched maps [Security] Bump django from 1.11.15 to 1.11.20 in /arches/install #4540property
's type More testing results #4614Development workflow improvements 🤓
style.json
in integration testsgl-style-composite
is now executable in line with the other tools @andrewharvey Update Terminology in MSM from "survey" to "project" #4595gl-style-composite
utility now throws an error if a name conflict would occur between layers @andrewharvey Update Terminology in MSM from "survey" to "project" #4595The text was updated successfully, but these errors were encountered: