Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

maps-v1.5.0

Compare
Choose a tag to compare
@alexshalamov alexshalamov released this 26 Mar 20:43
· 5 commits to release-v1.5.0 since this release

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)