Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mapbox-gl

Package Overview
Dependencies
Maintainers
28
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mapbox-gl - npm Package Versions

1
23

0.20.0

Diff

Changelog

Source

0.20.0 (June 10 2016)

New Features & Improvements
  • Add limited WMS support #2612
  • Add workerCount constructor option #2666
  • Improve performance of locationPoint and pointLocation #2690
  • Remove "Not using VertexArrayObject extension" warning messages #2707
  • Add version property to mapboxgl #2660
  • Support property functions in circle-opacity and circle-blur #2693
Bugfixes
  • Fix exception thrown by "drag rotate" handler #2680
  • Return an empty array instead of an empty object from queryRenderedFeatures #2694
  • Fix bug causing map to not render in IE
lucaswoj
published 0.19.1 •

Changelog

Source

0.19.1 (June 2 2016)

Bugfixes
  • Fix rendering of polygons with more than 35k vertices #2657
mollymerp
published 0.19.0 •

Changelog

Source

0.19.0 (May 31 2016)

New Features & Improvements
  • Allow use of special characters in property field names #2547
  • Improve rendering speeds on fill layers #1606
  • Add data driven styling support for fill-color and fill-outline-color #2629
  • Add has and !has filter operators mapbox/feature-filter#15
  • Improve keyboard handlers with held-down keys #2530
  • Support 'tms' tile scheme #2565
  • Add trackResize option to Map #2591
Bugfixes
  • Scale circles when map is displayed at a pitch #2541
  • Fix background pattern rendering bug #2557
  • Fix bug that prevented removal of a fill-pattern from a fill layer #2534
  • Fix line-pattern and fill-patternrendering #2596
  • Fix some platform specific rendering bugs #2553
  • Return empty object from queryRenderedFeatures before the map is loaded #2621
  • Fix "there is no texture bound to the unit 1" warnings #2509
  • Allow transitioned values to be unset #2561
lucaswoj
published 0.18.0 •

Changelog

Source

0.18.0 (April 13 2016)

New Features & Improvements
  • Implement zoom-and-property functions for circle-color and circle-size #2454
  • Dedupe attributions that are substrings of others #2453
  • Misc performance improvements #2483 #2488
Bugfixes
  • Fix errors when unsetting and resetting a style property #2464
  • Fix errors when updating paint properties while using classes #2496
  • Fix errors caused by race condition in unserializeBuckets #2497
  • Fix overzoomed tiles in wrapped worlds #2482
  • Fix errors caused by mutating a filter object after calling Map#setFilter #2495
lucaswoj
published 0.17.0 •

Changelog

Source

0.17.0 (April 13 2016)

Breaking Changes
  • Remove map.batch in favor of automatically batching style mutations (i.e. calls to Map#setLayoutProperty, Map#setPaintProperty, Map#setFilter, Map#setClasses, etc.) and applying them once per frame, significantly improving performance when updating the style frequently #2355 #2380
  • Remove util.throttle #2345
New Features & Improvements
  • Improve performance of all style mutation methods by only recalculating affected properties #2339
  • Improve fading of labels and icons #2376
  • Improve rendering performance by reducing work done on the main thread #2394
  • Validate filters passed to Map#queryRenderedFeatures and Map#querySourceFeatures #2349
  • Display a warning if a vector tile's geometry extent is larger than supported #2383
  • Implement property functions (i.e. data-driven styling) for circle-color and circle-size #1932
  • Add Popup#setDOMContent method #2436
Bugfixes
  • Fix a performance regression caused by using 1 WebWorker instead of # cpus - 1 WebWorkers, slowing down tile loading times #2408
  • Fix a bug in which Map#queryRenderedFeatures would sometimes return features that had been removed #2353
  • Fix clusterMaxZoom option on GeoJSONSource not working as expected #2374
  • Fix anti-aliased rendering for pattern fills #2372
  • Fix exception caused by calling Map#queryRenderedFeatures or Map#querySourceFeatures with no arguments
  • Fix exception caused by calling Map#setLayoutProperty for text-field or icon-image #2407
lucaswoj
published 0.16.0 •

Changelog

Source

0.16.0 (March 24 2016)

Breaking Changes
  • Replace Map#featuresAt and Map#featuresIn with Map#queryRenderedFeatures and map.querySourceFeatures (#2224)
    • Replace featuresAt and featuresIn with queryRenderedFeatures
    • Make queryRenderedFeatures synchronous, remove the callback and use the return value.
    • Rename layer parameter to layers and make it an array of layer names.
    • Remove the 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.
    • Remove the includeGeometry parameter because queryRenderedFeatures always includes geometries.
  • Map#debug is renamed to Map#showTileBoundaries (#2284)
  • Map#collisionDebug is renamed to Map#showCollisionBoxes (#2284)
New Features & Improvements
  • Improve overall rendering performance. (#2221)
  • Improve performance of GeoJSONSource#setData. (#2222)
  • Add Map#setMaxBounds method (#2234)
  • Add isActive and isEnabled methods to interaction handlers (#2238)
  • Add Map#setZoomBounds method (#2243)
  • Add touch events (#2195)
  • Add map.queryRenderedFeatures to query the styled and rendered representations of features (#2224)
  • Add map.querySourceFeatures to get features directly from vector tiles, independent of the style (#2224)
  • Add mapboxgl.Geolocate control (#1939)
  • Make background patterns render seamlessly across tile boundaries (#2305)
Bugfixes
  • Fix calls to setFilter, setLayoutProperty, and setLayerZoomRange on ref children (#2228)
  • Fix undefined bucket errors after setFilter calls (#2244)
  • Fix bugs causing hidden symbols to be rendered (#2246, #2276)
  • Fix raster flickering (#2236)
  • Fix queryRenderedFeatures precision at high zoom levels (#2292)
  • Fix holes in GeoJSON data caused by unexpected winding order (#2285)
  • Fix bug causing deleted features to be returned by queryRenderedFeatures (#2306)
  • Fix bug causing unexpected fill patterns to be rendered (#2307)
  • Fix popup location with preceding sibling elements (#2311)
  • Fix polygon anti-aliasing (#2319)
  • Fix slivers between non-adjacent polygons (#2319)
  • Fix keyboard shortcuts causing page to scroll (#2312)
lucaswoj
published 0.15.0 •

Changelog

Source

0.15.0 (March 1 2016)

New Features & Improvements
  • Add ImageSource#setCoordinates and VideoSource#setCoordinates (#2184)
Bugfixes
  • Fix flickering on raster layers (#2211)
  • Fix browser hang when zooming quickly on raster layers (#2211)
lucaswoj
published 0.14.3 •

Changelog

Source

0.14.3 (Feb 25 2016)

New Features & Improvements
  • Improve responsiveness of zooming out by using cached parent tiles (#2168)
  • Improve contextual clues on style API validation (#2170)
  • Improve performance of methods including setData (#2174)
Bugfixes
  • Fix incorrectly sized line dashes (#2099)
  • Fix bug in which in feature filter drops features (#2166)
  • Fix bug preventing Map#load from firing when tile "Not Found" errors occured (#2176)
  • Fix rendering artifacts on mobile GPUs (#2117)
bhousel
published 0.14.2 •

Changelog

Source

0.14.2 (Feb 19 2016)

Bugfixes
  • Look for loaded parent tiles in cache
  • Set tile cache size based on viewport size (#2137)
  • Fix tile render order for layer-by-layer
  • Remove source update throttling (#2139)
  • Make panning while zooming more linear (#2070)
  • Round points created during bucket creation (#2067)
  • Correct bounds for a rotated or tilted map (#1842)
  • Fix overscaled featuresAt (#2103)
  • Allow using tileSize: 512 as a switch to trade retina support for 512px raster tiles
  • Fix the serialization of paint classes (#2107)
  • Fixed bug where unsetting style properties could mutate the value of other style properties (#2105)
  • Less slanted dashed lines near sharp corners (#967)
  • Fire map#load if no initial style is set (#2042)
lucaswoj
published 0.14.1 •

Changelog

Source

0.14.1 (Feb 10 2016)

Bugfixes
  • Fix incorrectly rotated symbols along lines near tile boundries (#2062)
  • Fix broken rendering when a fill layer follows certain symbol layers (#2092)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc