Download Latest Version maps-v1.6.0.zip (35.8 MB)
Email in envelope

Get an email when there's a new version of Mapbox GL Native

Home / maps-v1.5.0
Name Modified Size InfoDownloads / Week
Parent folder
maps-v1.5.0.tar.gz 2020-03-26 28.6 MB
maps-v1.5.0.zip 2020-03-26 34.1 MB
README.md 2020-03-26 2.2 kB
Totals: 3 Items   62.7 MB 0

maps-v1.5.0

✨ New features

  • [core] Add Renderer::clearData() (#16323)

The newly added Renderer::clearData() method allows to clear render data and thus save memory and make sure outdated tiles are not shown. It clears data more agressively than Renderer::reduceMemoryUse() does, as it clears not only the cache but all orchestration data, including the data used by the currently rendered frame.

  • [android] Add jni binding for styleable snapshotter (#16286)

  • [core] Ability to set generic layer properties using setProperty method (#16324) This change enables the following new keys for the mbgl::Layer::setProperty() API:

  • "filter" invokes setFilter()
  • "minzoom" invokes setMinZoom()
  • "maxzoom" invokes setMaxZoom()
  • "source-layer" invokes setSourceLayer()

The newly-added API is used in the style-conversion code, which made this code much simpler.

  • [android] Expose getLayer, getSource and Observer interface for snapshotter (#16338)

🐞 Bug fixes

  • [core] Use TileCoordinates instead of LngLat for within expression calculation (#16319)

Fix the issue that within expression evaluates point features inconsistently across zoom levels if the point lies near the boundary of a GeoJSON object (#16301)

  • [core][tile mode] Reduce cut-off labels (#16336)

Place tile intersecting labels first, across all the layers. Thus we reduce the amount of label cut-offs in Tile mode.

Before, labels were arranged within one symbol layer (one bucket),which was not enough for several symbol layers being placed at the same time.

  • [core] Fix issue that within expression returns incorrect results for geometries crossing the anti-meridian (#16330)
Source: README.md, updated 2020-03-26