A WebGL interactive maps library
Published Node.js and peer-dependency requirements.
Neither version declares Node.js or peer-dependency requirements.
24 Mar 2016 · 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#featuresAt and Map#featuresIn with Map#queryRenderedFeatures and map.querySourceFeatures (#2224)
featuresAt and featuresIn with queryRenderedFeaturesqueryRenderedFeatures synchronous, remove the callback and use the return value.layer parameter to layers and make it an array of layer names.radius parameter. radius was used with featuresAt to account for style properties like line-width and circle-radius. queryRenderedFeatures accounts for these style properties. If you need to query a larger area, use a bounding box query instead of a point query.includeGeometry parameter because queryRenderedFeatures always includes geometries.Map#debug is renamed to Map#showTileBoundaries (#2284)Map#collisionDebug is renamed to Map#showCollisionBoxes (#2284)GeoJSONSource#setData. (#2222)Map#setMaxBounds method (#2234)isActive and isEnabled methods to interaction handlers (#2238)Map#setZoomBounds method (#2243)map.queryRenderedFeatures to query the styled and rendered representations of features (#2224)map.querySourceFeatures to get features directly from vector tiles, independent of the style (#2224)mapboxgl.Geolocate control (#1939)setFilter, setLayoutProperty, and setLayerZoomRange on ref children (#2228)undefined bucket errors after setFilter calls (#2244)queryRenderedFeatures precision at high zoom levels (#2292)queryRenderedFeatures (#2306)