0.11.0
This is a major update to the Tangram Android SDK and the Tangram iOS SDK. There are breaking changes to both SDK interfaces in this release.
Important: The Google Play Store has new requirements that all Android apps must include 64-bit binaries. This release updates the Tangram Android SDK to include all the required binaries. If you have an app on the Play Store that uses Tangram, you should upgrade to this release.
Android
- Support drawing maps into a
TextureView
, for embedding within anotherView
(#2030) - Fix JNI reference table overflow - Thanks @vilinet! (#2051)
- Include all 64-bit binaries in AAR to comply with the Play Store's new requirements (#2066)
- Better IO thread management, along with loading files asynchronously (#1947)
iOS
- Expose
TGMapView
'sCADisplayLink
as a property, for controlling animation in certain situations (#1993) - Fix a bug where
IosPlatform
could be referenced after deletion in aUrlHandler
block (#2021) - Workaround
UIPinchGesture
issue by checking number of touches (#2025) - Fix a parameter name that shadowed a property in
TGMarker
(#2059) - Tidy up several bits of iOS CMake/Xcode configuration (#2085, #2086, #2090)
- Fix build errors and warnings in Xcode 11 (#2099)
Core
- Organize files into CMake
source_groups
(#1989) - Fix view constraint logic to prevent inconsistent view states (#1998)
- Refactor Platform resource handling to improve memory safety (#2003, #2009)
- Cleanup some code in GLFW demo app (#1990)
- Improved raster tile caching and code cleanup (#1991)
- Support floating point label priorities (tilezen/vector-datasource#988, #2010)
- Document Tangram ES inclusion in the Linux Foundation (#1816)
flyTo
functions support an explicit speed parameter (#2018)- Linux networking updated to use curl multi API (#1994)
- Refactor Platform code to avoid calling network callbacks during shutdown (#1947)
- JavaScript engine abstraction, allows using either Duktape or JSCore on macOS and iOS (#1942)
- Fix scene importing when duplicate, non-cyclic scenes are imported (#2016)
- Support "zoom_offset" for tile data sources (#2026)
- Revise "text_source" property behavior to match Tangram JS (#2027)
- Breaking change: Cleaner, more robust implementation of scene updates (#2006)
- Small improvements in texture and shader source management (#2000, #2047)
- Breaking change: New, much faster interface for adding large data overlays (#2043)
LngLat
equality check is nowconst
- Thanks @Hsilgos! (#2063)- Use CMake
find_package
for curl dependency on Linux platforms (#2094) - Fix compilation issues on Debian GCC (#2072)
- Fix stack value usage outside of its scope - Thanks @Hsilgos! (#2073)
- Fix compilation issues with gcc 7.4 (#2092)
- Fix build errors for tests and benchmarks on macOS (#2095)
- Publish test results on CI (#2093)
- Fix Raspberry Pi build errors (#2098)