4.4.1
mtehver
released this
31 Aug 08:38
·
144 commits
to master
since this release
This version brings several smaller features and fixes to 4.4.0. We recommended migrating to this version. No breaking changes, so it is a drop-in replacement to 4.4.0.
Important: due to bitcode recompilation bug in original 4.4.1, a hotfix version 4.4.1.1 is available. Please use this version instead when targeting iOS. Other platforms are not affected.
New features:
- Metal build of iOS framework (CartoMobileSDK-Metal) now supports Mac Catalyst apps
- Added
ClickInfo
class, to store click related information (click type, duration) - New mode for reducing click event latency when double click handling is not required
- Additional CartoCSS features (line offsetting, text-wrapping parameters, color operators)
Changes, fixes:
- Re-implemented 'click type detection disabled' mode, click events are now triggered when finger is lifted
- Added
setDoubleClickDetection
,isDoubleClickDetection
methods toOptions
class to allow reducing click handling latency - Added
setLongClickDuration
,getLongDuration
methods toOptions
class to allow configuring long click detection duration - Added
setDoubleClickMaxDuration
andgetDoubleClickMaxDuration
methods toOptions
class to allow configuring double click max duration - Classes like
MapEventListener
,VectorElementClickInfo
now containClickInfo
instance for additional click attributes - Added support for decoding proprietary Apple 'PNG' files
- Fixed decoding of specific bitmap formats when using
CreateBitmapFromUIImage
on iOS - Fixed Android bitmap decoding when non-standard stride sizes are used
- Fixed tile layer refreshing issue when data source bounds changed
- Fixed old view state being used when adding labels to the vector layer
- Updated built-in style asset, tweaked displaying of multilingual names
- Updated MetalANGLE library to the latest stable version, tweaked build settings to produce smaller binaries
- Updated font rendering libraries, tesselation library to the latest stable version
- Fixed excessive initialization times when
MBTilesTileDataSource
was used with databases not containing zoom level metainfo - Fixed potential memory leaks on iOS when network requests fail
- Added 'extends' support to JSON project files, to reduce copy-paste declarations in map project files
- Added support for CartoCSS 'line-offset', 'line-pattern-offset' attributes
- Added support for CartoCSS 'text-wrap-character' and 'shield-wrap-character' attributes
- Added the following color manipulation functions to CartoCSS:
hsl
,hsla
,red
,green
,blue
,alpha
,hue
,saturation
,lightness
- Fixed handling of 'text-min-distance' and 'shield-min-distance' CartoCSS parameters
- Improved label id generation for repeated labels, creating more stable label placements
- Fixed SDK/MetalANGLE linking issue with iOS Metal build causing uncaught exceptions due to networking problems
- Minor tweaks to built-in styles
- Updated libjpeg, libwebp, freetype, harfbuzz, miniz to latest stable versions
- Various minor optimizations
- Fixed bitcode recompilation bug on iOS due to unsupported optimization flags, fix is available in 4.4.1.1 version.
Install with package management
-
Android gradle:
compile 'com.carto:carto-mobile-sdk:4.4.1@aar'
-
iOS CocoaPod:
pod 'CartoMobileSDK', '4.4.1.1'
pod 'CartoMobileSDK-Metal', '4.4.1.1'
- Xamarin and Visual Studio Package Manager (nuget) console:
PM> Install-Package CartoMobileSDK.iOS -Version 4.4.1
PM> Install-Package CartoMobileSDK.Android -Version 4.4.1
PM> Install-Package CartoMobileSDK.UWP -Version 4.4.1