A WebGL interactive maps library
Published Node.js and peer-dependency requirements.
Neither version declares Node.js or peer-dependency requirements.
15 Jun 2015 · 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.
map.setView(latlng, zoom, bearing) has been removed. Use
map.jumpTo(options) instead:
map.setView([40, -74.50], 9) // 0.7.0 or earlier
map.jumpTo({center: [40, -74.50], zoom: 9}); // now
map.easeTo and
map.flyTo now accept a single
options object rather than positional parameters:
map.easeTo([40, -74.50], 9, null, {duration: 400}); // 0.7.0 or earlier
map.easeTo({center: [40, -74.50], zoom: 9, duration: 400}); // now
mapboxgl.Source is no longer exported. Use map.addSource() instead. See the
GeoJSON line or
GeoJSON markers
examples.
mapboxgl.util.supported() moved to mapboxgl.supported().
Map setPitch getPitchMap dblclick event. (#1168)Map getSource (660a8c1)Map setFilter and getFilter (#985)Map failIfMajorPerformanceCaveat option (#1082)Map preserveDrawingBuffer option (#1232)VideoSource getVideo() (#1162)latLng to the event object (#1068)