A WebGL interactive maps library
Published Node.js and peer-dependency requirements.
No declared requirement changes.
13 Sept 2017 · Newest first
Last checked
Checking sources…
Showing 1 of 1 releases. Full release notes.
Signals highlight changes worth reviewing. They cannot determine whether your application is affected.
0.39.1 → 0.40.0
:warning: Breaking changes
Fix bug wherein layer-specific an event listener produced an error after its target layer was removed from the map #5145
Map#addImagenow requires the image as anHTMLImageElement,ImageData, or object withwidth,height, anddataproperties with the same format asImageData. It no longer accepts a rawArrayBufferViewin the second argument andwidthandheightoptions in the third argument.
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. #5155fill-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 #5021Map#addImage() #5181Marker#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-stringifyMarker#togglePopup() failing to return the marker instance #5116