All Versions
153
Latest Version
Avg Release Cycle
-
Latest Release
-

Changelog History
Page 14

  • v0.11.4 Changes

    November 16, 2015
    ๐Ÿ›  Bugfixes
    • ๐Ÿ›  Fix alpha blending of alpha layers (#1684)
  • v0.11.3 Changes

    November 10, 2015
    ๐Ÿ›  Bugfixes
    • ๐Ÿ›  Fix GeoJSON rendering and performance (#1685)
    UX Improvements
    • ๐Ÿฑ Use SVG assets for UI controls (#1657)
    • Zoom out with shift + dblclick (#1666)
  • v0.11.2 Changes

    October 29, 2015
    • ๐ŸŽ Misc performance improvements
    ๐Ÿ›  Bugfixes
    • ๐Ÿ›  Fix sprites on systems with non-integer devicePixelRatios (#1029 #1475 #1476)
    • ๐Ÿ›  Fix layer minZoom being ignored if not less than source maxZoom
    • ๐Ÿ›  Fix symbol placement at the start of a line (#1461)
    • ๐Ÿ›  Fix raster-opacity on non-tile sources (#1270)
    • Ignore boxzoom on shift-click (#1655)
    UX Improvements
    • Enable line breaks on common punctuation (#1115)
    API Improvements
    • โž• Add toString and toArray methods to LngLat, LngLatBounds (#1571)
    • โž• Add Transform#resize method
    • โž• Add Map#getLayer method (#1183)
    • โž• Add Transform#unmodified property (#1452)
    • Propagate WebGL context events (#1612)
  • v0.11.1 Changes

    September 30, 2015
    ๐Ÿ›  Bugfixes
    • โž• Add statistics and checkboxes to debug page
    • ๐Ÿ›  Fix Map#featuresAt for non-4096 vector sources (#1529)
    • ๐Ÿšš Don't fire mousemove on drag-pan
    • ๐Ÿ›  Fix maxBounds constrains (#1539)
    • ๐Ÿ›  Fix maxBounds infinite loop (#1538)
    • ๐Ÿ›  Fix memory leak in worker
    • Assert valid TileCoord, fix wrap calculation in TileCoord#cover (#1483)
    • Abort raster tile load if not in viewport (#1490)
    API Improvements
    • โž• Add Map event listeners for mouseup, contextmenu (right click) (#1532)
  • v0.11.0 Changes

    September 11, 2015
    API Improvements
    • โž• Add Map#featuresIn: a bounding-box feature query
    • ๐Ÿ’… Emit stylesheet validation errors (#1436)
    UX Improvements
    • ๐Ÿ’… Handle v8 style center, zoom, bearing, pitch (#1452)
    • ๐Ÿ‘Œ Improve circle type styling (#1446)
    • ๐Ÿ‘Œ Improve dashed and patterned line antialiasing
    ๐Ÿ›  Bugfixes
    • Load images in a way that respects Cache-Control headers
    • Filter for rtree matches to those crossing bbox
    • 0๏ธโƒฃ Log errors by default (#1463)
    • ๐Ÿ›  Fixed modification of text-size via setLayoutProperty (#1451)
    • Throw on lat > 90 || < -90. (#1443)
    • ๐Ÿ›  Fix circle clipping bug (#1457)
  • v0.10.0 Changes

    August 21, 2015
    ๐Ÿ’ฅ Breaking changes
    • Switched to [longitude, latitude] coordinate order, matching GeoJSON. We anticipate that mapbox-gl-js will be widely used with GeoJSON, and in the long term having a coordinate order that is consistent with GeoJSON will lead to less confusion and impedance mismatch than will a [latitude, longitude] order.

    The following APIs were renamed:

    * `LatLng` was renamed to `LngLat`
    * `LatLngBounds` was renamed to `LngLatBounds`
    * `Popup#setLatLng` was renamed to `Popup#setLngLat`
    * `Popup#getLatLng` was renamed to `Popup#getLngLat`
    * The `latLng` property of Map events was renamed `lngLat`
    

    The following APIs now expect array coordinates in [longitude, latitude] order:

    * `LngLat.convert`
    * `LngLatBounds.convert`
    * `Popup#setLngLat`
    * The `center` and `maxBounds` options of the `Map` constructor
    * The arguments to `Map#setCenter`, `Map#fitBounds`, `Map#panTo`, and `Map#project`
    * The `center` option of `Map#jumpTo`, `Map#easeTo`, and `Map#flyTo`
    * The `around` option of `Map#zoomTo`, `Map#rotateTo`, and `Map#easeTo`
    * The `coordinates` properties of video and image sources
    
    • ๐Ÿ’… Updated to mapbox-gl-style-spec v8.0.0 (Changelog). Styles are now expected to be version 8. You can use the gl-style-migrate utility to update existing styles.

    • ๐Ÿ’… The format for mapbox:// style and glyphs URLs has changed. For style URLs, you should now use the format mapbox://styles/:username/:style. The :style portion of the URL no longer contains a username. For font URLs, you should now use the format mapbox://fonts/:username/{fontstack}/{range}.pbf.

    • ๐Ÿ’… Mapbox default styles are now hosted via the Styles API rather than www.mapbox.com. You can make use of the Styles API with a mapbox:// style URL pointing to a v8 style, e.g. mapbox://styles/mapbox/streets-v8.

    • ๐Ÿ’… The v8 satellite style (mapbox://styles/mapbox/satellite-v8) is now a plain satellite style, and not longer supports labels or contour lines via classes. For a labeled satellite style, use mapbox://styles/mapbox/satellite-hybrid.

    • Removed mbgl.config.HTTP_URL and mbgl.config.FORCE_HTTPS; https is always used when connecting to the Mapbox API.

    • Renamed mbgl.config.HTTPS_URL to mbgl.config.API_URL.

    ๐Ÿ›  Bugfixes
    • Don't draw halo when halo-width is 0 (#1381)
    • ๐ŸŽ Reverted shader changes that degraded performance on IE
    API Improvements
    • You can now unset layout and paint properties via the setLayoutProperty and setPaintProperty APIs by passing undefined as a property value.
    • ๐Ÿ‘ The layer option of featuresAt now supports an array of layers.
  • v0.9.0 Changes

    July 29, 2015
    • glyphs URL now normalizes without the /v4/ prefix for mapbox:// urls. Legacy behavior for mapbox://fontstacks is still maintained (#1385)
    • ๐Ÿ”ฆ Expose geojson-vt options for GeoJSON sources (#1271)
    • bearing snaps to "North" within a tolerance of 7 degrees (#1059)
    • Now you can directly mutate the minzoom and maxzoom layer properties with map.setLayerZoomRange(layerId, minzoom, maxzoom)
    • ๐Ÿ”ฆ Exposed mapboxgl.Control, a base class used by all UI controls
    • ๐Ÿ”จ Refactored handlers to be individually included in Map options, or enable/disable them individually at runtime, e.g. map.scrollZoom.disable().
    • ๐Ÿ†• New feature: Batch operations can now be done at once, improving performance for calling multiple style functions: (#1352)
      style.batch(function(s) {
          s.addLayer({ id: 'first', type: 'symbol', source: 'streets' });
          s.addLayer({ id: 'second', type: 'symbol', source: 'streets' });
          s.addLayer({ id: 'third', type: 'symbol', source: 'terrain' });
          s.setPaintProperty('first', 'text-color', 'black');
          s.setPaintProperty('first', 'text-halo-color', 'white');
      });
    
    • ๐Ÿ‘Œ Improved documentation
    • ๐ŸŽ featuresAt performance improvements by exposing includeGeometry option
    • ๐Ÿ‘ Better label placement along lines (#1283)
    • ๐Ÿ‘Œ Improvements to round linejoins on semi-transparent lines (mapbox/mapbox-gl-native#1771)
    • Round zoom levels for raster tile loading (@2a2aec)
    • Source#reload cannot be called if source is not loaded (#1198)
    • Events bubble to the canvas container for custom overlays (#1301)
    • ๐Ÿšš Move handlers are now bound on mousedown and touchstart events
    • map.featuresAt() now works across the dateline
  • v0.8.1 Changes

    June 16, 2015
    • ๐Ÿš€ No code changes; released only to correct a build issue in 0.8.0.
  • v0.8.0 Changes

    June 15, 2015
    ๐Ÿ’ฅ Breaking changes
    • ๐Ÿšš 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
    
    UX improvements
    • โž• Add perspective rendering (#1049)
    • ๐Ÿ‘ Better and faster labelling (#1079)
    • โž• Add touch interactions support on mobile devices (#949)
    • Viewport-relative popup arrows (#1065)
    • Normalize mousewheel zooming speed (#1060)
    • โž• Add proper handling of GeoJSON features that cross the date line (#1275)
    • Sort overlapping symbols in the y direction (#470)
    • Control buttons are now on a 30 pixel grid (#1143)
    • ๐Ÿ‘Œ Improve GeoJSON processing performance
    API Improvements
    • ๐Ÿ“š Switch to JSDoc for documentation
    • ๐Ÿ’ป Bundling with browserify is now supported
    • ๐Ÿ’… Validate incoming map styles (#1054)
    • โž• Add Map setPitch getPitch
    • โž• Add Map dblclick event. (#1168)
    • โž• Add Map getSource (@660a8c1)
    • โž• Add Map setFilter and getFilter (#985)
    • โž• Add Map failIfMajorPerformanceCaveat option (#1082)
    • โž• Add Map preserveDrawingBuffer option (#1232)
    • โž• Add VideoSource getVideo() (#1162)
    • ๐Ÿ‘Œ Support vector tiles with extents other than 4096 (#1227)
    • ๐Ÿ‘‰ Use a DOM hierarchy that supports evented overlays (#1217)
    • Pass latLng to the event object (#1068)
    ๐Ÿ›  UX Bugfixes
    • ๐Ÿ›  Fix rendering glitch on iOS 8 (#750)
    • ๐Ÿ›  Fix line triangulation errors (#1120, #992)
    • ๐Ÿ‘Œ Support unicode range 65280-65535 (#1108)
    • ๐Ÿ›  Fix cracks between fill patterns (#972)
    • ๐Ÿ›  Fix angle of icons aligned with lines (@37a498a)
    • ๐Ÿ›  Fix dashed line bug for overscaled tiles (#1132)
    • ๐Ÿ›  Fix icon artifacts caused by sprite neighbors (#1195)
    ๐Ÿ›  API Bugfixes
    • ๐Ÿšš Don't fire spurious moveend events on mouseup (#1107)
    • ๐Ÿ›  Fix a race condition in featuresAt (#1220)
    • ๐Ÿ›  Fix for brittle fontstack name convention (#1070)
    • ๐Ÿ›  Fix broken Popup setHTML (#1272)
    • ๐Ÿ›  Fix an issue with cross-origin image requests (#1269)
  • v0.7.0 Changes

    March 03, 2015
    ๐Ÿ’ฅ Breaking
    • ๐Ÿšš Rename Map hover event to mousemove.
    • ๐Ÿ”„ Change featuresAt to return GeoJSON objects, including geometry (#1010)
    • โœ‚ Remove Map canvas and container properties, add getCanvas and getContainer methods instead
    UX Improvements
    • ๐Ÿ‘Œ Improve line label density
    • โž• Add boxzoom interaction (#1038)
    • โž• Add keyboard interaction (#1034)
    • Faster GeoJSONSource setData without flickering (#973)
    API Improvements
    • โž• Add Popup component (#325)
    • โž• Add layer API (#1022)
    • โž• Add filter API (#985)
    • More efficient filter API (#1018)
    • Accept plain old JS object for addSource (#1021)
    • ๐Ÿ“œ Reparse overscaled tiles
    ๐Ÿ›  Bugfixes
    • ๐Ÿ›  Fix featuresAt for LineStrings (#1006)
    • ๐Ÿ›  Fix tileSize argument to GeoJSON worker (#987)
    • โœ‚ Remove extraneous files from the npm package (#1024)
    • ๐Ÿ–จ Hide "improve map" link in print (#988)