Skip to content

4.4.3

Compare
Choose a tag to compare
@mtehver mtehver released this 14 Dec 10:01
· 56 commits to master since this release

This version brings several important fixes and performance improvements to 4.4.0 - 4.4.2 versions. We recommended migrating to this version. No breaking changes, so it is a drop-in replacement to older 4.4.x versions.

New features:

  • Added getRendererLayerFilter, setRendererLayerFilter, getClickHandlerLayerFilter, setClickHandlerLayerFilter methods to VectorTileLayer. These methods allow ignoring certain layers for rendering or click detection.
  • Added reverse function support to CartoCSS 'text-transform'
  • Added an experimental option to configure various VectorTileLayer parameters via project.json nutiparameters
  • Added support for configuring vector tile map parameters via project.json

Changes, fixes:

  • Optimized parsing and loading of complex CartoCSS styles, improving performance by 20-40% for complex styles
  • Optimized loading of compiled Mapnik styles by using symbolizer cache, improving performance by up to 50% for complex styles
  • Fixed critical coordinate scaling issue in iOS Metal build (occurs only with iPhone 6 Plus, iPhone 7 Plus and iPhone 8 Plus devices)
  • Fixed regression in GeoJSONVectorTileDataSource which caused parsing failure with features with non-object properties
  • Fixed TileLayer not properly recalculating tiles when visibility changes, causing layer to remain hidden.
  • Fixed deadlock in ClusteredVectorLayer when its data source is non-empty with all elements being hidden
  • Fixed stale tiles remaining in caches when offline packages were removed
  • Fixed subtle synchronization issues in PackageManager
  • Added better support for 'none' keyword in CartoCSS
  • Added support for parallel requests to ValhallaOfflineRoutingService
  • Minor improvements to error reporting for CartoCSS issues
  • Minor speed and size optimizations
  • Improved Android documentation by hiding unneeded wrapping related details
  • Dropped 'doclava' based javadoc generation, documentation for Android is now based on standard JDK doclet
  • Added javadoc to published Android artifacts to Maven central
  • Fixes to build scripts
  • Updated internal Valhalla, boost, freetype, sqlite, libjpeg-turbo, harfbuzz, botan and protobuf libraries to latest stable versions

Install with package management

  • Android gradle:

    compile 'com.carto:carto-mobile-sdk:4.4.3@aar'

  • iOS and Mac Catalyst CocoaPod:

  pod 'CartoMobileSDK', '4.4.3'
  pod 'CartoMobileSDK-Metal', '4.4.3'

Note: Bitcode in 4.4.3 is generated using Xcode 13.1 and could be incompatible with earlier (12.x) Xcode versions
Note: Mac Catalyst apps are supported only using ''CartoMobileSDK-Metal' framework.

  • Swift Package Manager (iOS and Mac Catalyst):
https://github.com/nutiteq/mobile-sdk-ios-swift-package.git
https://github.com/nutiteq/mobile-sdk-ios-metal-swift-package.git

Note: Bitcode in 4.4.3 is generated using Xcode 13.1 and could be incompatible with earlier (12.x) Xcode versions
Note: Mac Catalyst apps are supported only using 'Metal' framework.

  • Xamarin and Visual Studio Package Manager (nuget) console:
  PM> Install-Package CartoMobileSDK.iOS -Version 4.4.3
  PM> Install-Package CartoMobileSDK.Android -Version 4.4.3
  PM> Install-Package CartoMobileSDK.UWP -Version 4.4.3