All Versions
44
Latest Version
Avg Release Cycle
8 days
Latest Release
1724 days ago

Changelog History
Page 5

  • v1.2.1 Changes

    February 28, 2020

    ๐Ÿš€ maps-v1.2.1 (2020.02-release-vanillashake)

    ๐Ÿฑ ๐Ÿž Bug fixes

    โช [core] Revert shader changes from #16189, which will cause incorrect label positioning (#16235)

    This is a back porting from GL JS #9333

    โช [ios] Restored support for iOS 9โ€“11 by default (#16241)

  • v1.2.0 Changes

    February 17, 2020

    ๐Ÿš€ maps-v1.2.0 (2020.02-release-vanillashake)

    ๐Ÿฑ โœจ New features

    [core] Global settings API (#16174)

    ๐Ÿ‘ Global settings API provides means of managing non-persistent in-process settings. Initial implementation contains support for experimental option for setting thread priorities.

    Expose READ_ONLY_MODE_KEY property for DatabaseFileSource (#16183)

    The READ_ONLY_MODE_KEY property is exposed for DatabaseFileSource.

    ๐ŸŽ This property allows to re-open the offline database in read-only mode and thus improves the performance for the set-ups that do not require the offline database modifications.

    [core] Add runtime API for setting tile prefetch delta for a Source (#16179)

    0๏ธโƒฃ The new Source::setPrefetchZoomDelta(optional<uint8_t>) method allows overriding default tile prefetch setting that is defined by the Map instance.

    ๐Ÿ‘ [core] Add support for within expression. Implement the use of within expression with paint propery and filter expression. (#16157)

    The within expression enables checking whether a feature is inside a pre-defined geometry set/boundary or not. This within expression returns a boolean value, true indicates that the feature being evaluated is inside the geometry set. The returned value can be then consumed as input by another expression or used directly by a paint/layer property.

    ๐Ÿ‘Œ Support for using within expression with layout property will be implemented separately.

    ๐Ÿ‘ [core] Add support for using within expression with layout property. (#16194)

    ๐Ÿ‘ [core] Add support for in expression. (#16162)

    The in expression enables checking whether a Number/String/Boolean type item is in a String/Array and returns a boolean value.

    ๐Ÿฑ ๐Ÿž Bug fixes

    [core] Don't provide multiple responses with the same data for 304 replies (#16200)

    In cases when cached resource is useable, yet don't have an expiration timestamp, we provided data to the requester from the cache and the same data was returned once 304 response was received from the network.

    [core] Fix potential visual artifact for line-dasharray (#16202)

    Store gfx::DrawScope objects with associated render objects. (#15395)

    ๐Ÿš€ We used some shared SegmentVectors, e.g. for drawing raster or background tiles. In longer running maps, this lead to resource accumulation. By storing the SegmentVectors and the contained gfx::DrawScope objects, we ensure that resources get released when the associated render objects vanish.

    ๐Ÿ’… [core] Fix sprite sheet merging in Style::Impl::onSpriteLoaded (#16211)

    ๐Ÿ’… If we get a new sprite sheet from the server, we need to merge current sprite sheet with a new one, while overwriting duplicates and keeping old unique images in a style.

    ๐ŸŽ ๐Ÿ Performance improvements

    ๐Ÿ’… [core] Loading images to style optimization (#16187)

    ๐ŸŽ This change enables attaching images to the style with batches and avoids massive re-allocations. Thus, it improves UI performance especially at start-up time.

    ๐Ÿงฉ Architectural changes

    ๐Ÿฑ โš ๏ธ Breaking changes

    ๐Ÿ’… [core] Loading images to style optimization (#16187)

    ๐Ÿ’… The style::Style::getImage() semantics changed - it now returns optional<style::Image>.

  • v1.0.1 Changes

    February 03, 2020

    ๐Ÿš€ maps-v1.0.1 (2020.01-release-unicorn)

    ๐Ÿฑ ๐Ÿž Bug fixes

    [core] Use std::list instead of std::map for factory instance (#16161)

    Factory 'get' method can be invoked recursively and stable iterators are required to guarantee safety.

    [tile mode] Improvements in symbol placement on tile borders (#16159)

    In tile mode, the placement order of two symbols crossing a tile border is defined by their anchor Y values.

    Symbols crossing the borders between two neighboring tiles are placed with priority.

    It improves symbol placement stability in the tile map mode.

  • v1.0.0 Changes

    January 27, 2020

    ๐Ÿš€ maps-v1.0.0 (2020.01-release-unicorn)

    ๐Ÿฑ โœจ New features

    [core] Implement stretchable icons (#16030)

    ๐Ÿ›  Stretchable icons allow defining certain areas of an icon that may be stretched, leaving the remaining areas of an icon at a fixed size.

    [core] Port line-sort-key and fill-sort-key (#15839)

    The new feature allows to sort line and fill layer features. Similar to symbol-sort-key.

    [core] Add image sections to format expression (#15937)

    The new feature allows to embed images into labels.

    [core] Introduce OfflineDatabase::runPackDatabaseAutomatically() API (#15967)

    The new API allows to enable / disable automatic packing of a database.

    [core] Decouple offline storage vacuum and the deleteRegion API (#15899)

    • introduce OfflineDatabase::pack() standing for incremental vacuum

    - make packing optional at offline region deletion

    [core] Implement image expression (#15877)

    ๐Ÿ’… The image expression allows determining an image's availability.

    [core] Add batch conversion of latLngs to/from screenCoords (#15891)

    This patch introduces batch conversion between LatLng and ScreenCoordinate in Gl-Native core, so for multiple conversions with single point/latLng previously now it can be done with invoking one function call by passing vector of points/latLngs.

    ๐Ÿฑ ๐Ÿž Bug fixes

    [tile mode] Fix variable symbols placement (#16141

    This change allows the variable symbols to cross the tile border only if their anchor is the first anchor from the text-variable-anchor list.

    โฑ [core] Use weak scheduler inside mailbox (#16136)

    โฑ If there are pending requests that are completed after main scheduler is destructed, worker threads may try to push messages to destructed scheduler's queue.

    ๐Ÿ“œ [core] Fix a crash in GeoJSON source parsing, caused by GeoJSONVTData ownership error (#16106)

    [core] Stable position of labels at tile borders in tile mode (#16040)

    These changes allow to avoid cutting-off labels on tile borders if the variable text placement is enabled.

    [core] Fix really overscaled lines (#16045)

    We resample lines after sharp corners in some situations. When tiles were really overscaled, sometimes we didn't have enough precision to represent the resampled vertex because it was too close. Disabling this after a certain point prevents this (#16018).

    [core] Don't use signed int type for anchor segment (#16008)

    Erroneous signed to unsigned implicit conversion was used when PlacedSymbol(s) were created in SymbolLayout and signed values were used as indexes in a few other places.

    [core] Increase padding in CollisionIndex for MapMode::Tile (#15880)

    This increases the padding to 1024 for MapMode::Tile which should be enough to completely include all the data two zoom levels past the data source's max zoom level. Beyond that, 1024 should be enough of a padding to make clipped labels unlikely.

    [core] Blacklist VAO extension for Adreno (TM) 4xx GPUs (#15978)

    Blacklist in order to avoid crashes in a driver (Android 5.1.1)

    [core] Retain thread pool in GeoJSONSource (#15992)

    Otherwise, the construction of the Immutable<Source::Impl> in background thread might never yeld.

    [core] Fix supercluster lambdas capturing (#15989)

    ๐Ÿ›  Fix wrapping of the parameters in supercluster map/reduce lambdas (Previously, local variables were wrapped by reference).

    [core] fix rendering of dashed lines with round caps (#15947)

    In #15862, we introduced individual textures for line dash patterns to eliminate atlas overflows. Unfortunately, this broke dashed lines that had round caps (dashed lines with straight caps still rendered correctly). Line pattern textures for round caps were now using 256ร—15 pixel textures.

    [core] Fix incorrect resizing of TileCache (#15943)

    ๐Ÿ’… [core] Avoid GeoJSON source flickering on style transitions (#15907)

    ๐Ÿ’… Before this change, all GeoJSON source cleared tile pyramid at the style transition and it caused flickering.

    [core] Use individual textures for line dash patterns (#15862)

    ๐Ÿšš This moves the LineAtlas from a shared texture that contained SDF dash patterns to use individual textures.

    [core] Fix collisions with icon-text-fit and variable placement (#15828)

    When deciding the placement position it was only checking whether there were text collisions. Now, if icon-text-fit is used it now checks whether the icon fits before accepting a placement position.

    [core] Fix icon-text-fit (#15634)

    ๐Ÿ›  This fixes rendering by account for the 1px texture padding around icons that were stretched with icon-text-fit.

    ๐ŸŽ ๐Ÿ Performance improvements

    ๐ŸŽ [core] Cross tile index performance (#16127)

    For overscaled tiles, index only the symbols inside the viewport.

    Find matches only among the buckets that have the same leader Id.

    [core] Calculate GeoJSON tile geometries in a background thread (#15953)

    Call mapbox::geojsonvt::GeoJSONVT::getTile() in a background thread, so that the rendering thread is not blocked.

    [core] Make requests for expired resources lower priority than requests for new resources (#15950)

    โฑ [core] Add Scheduler::scheduleAndReplyValue() API (#15885)

    ๐Ÿ’ป This change converts GeoJSON features to tiles for the loaded source description in a background thread and thus unblock the UI thread.

    [core] Enable incremental vacuum for Offline DB (#15837)

    Thus we avoid re-creating the whole database and keeping the backup file as it happens on calling VACUUM.

    [core] Fix image requests for already obtained images (#15825)

    Before this fix, repeated request for an already obtained image was erroneously treated as pending, and it prevented from the tiles load completion.

    ๐Ÿงฉ Architectural changes

    ๐Ÿ’… [core] Merge style::Layer::set{Layout,Paint}Property (#15997)

    [core] Use expected.hpp from mapbox-base (#15898)

    ๐Ÿฑ โš ๏ธ Breaking changes

    ๐ŸŽ [core] Cross tile index performance (#16127)

    Introduces public mblg::Renderer::render API break.

    ๐Ÿ”จ [core] Refactor DefaultFileSource codebase (#15768)

    • Adds FileSourceManager interface that provides access to FileSource instances and means of registering / unregistering FileSource factories
    • Splits DefaultFileSource into smaller parts
    • Adds DatabaseFileSource interface and it's default implementation
    • Removes inter-dependencies between concrete FileSource classes
    • All sources operate on dedicated thread, except MainResourceLoader that acts as a dispatcher and works on thread that requested it.

    - Removes ResourceOptions::withCacheOnlyRequestsSupport method

    ๐Ÿšš [core] Remove Map::cycleDebugOptions (#16005)

    This function was mostly used by the Android API, which is no longer necessary.