0.10.1
This is a minor update to the Tangram Android SDK and the Tangram iOS SDK. There are no breaking changes to the SDK interfaces in this release.
Android
- Update build dependencies and tools (#1963, #1984)
- Fixed a potential null pointer exception in
MapView$onTouchEvent
(#1974) - Applied display density correctly to Marker Bitmaps - thanks @polar! (#1976, #1981)
iOS
- Updated iOS docs, now hosted with the Tangram styling docs on https://tangrams.readthedocs.io
- You can now choose between Duktape and JavaScriptCore for the JavaScript runtime implementation with the
TANGRAM_USE_JSCORE
CMake option. Duktape is generally faster, but using the JavaScriptCore provided with iOS reduces binary size by about 700KB per architecture. By default, Tangram will continue to use Duktape. (#1942) - Fixed a potential crash caused by dereferencing a pointer that wasn't checked for nullity. - thanks @Developers-Here-Mobility! (#1972)
- Fixed an issue where multiple map instances could create or destroy resources in the wrong GL context. (#1986)
Other Features
- Reduced unnecessary data copies to improve map startup speed (#1952)
- Optimized and refactored image loading code (#1943)
- You can now choose to omit the MBTiles feature at build time with the
TANGRAM_MBTILES_DATASOURCE
CMake option. On Android this reduces library binary size by 2-4MB per architecture. By default, Tangram will continue to include MBTiles. (#1955) - Fixed
getEnclosingCameraPosition
for cases when input bounds are very, very small - thanks @westnordost! (#1964) - Improved map launch speed by optimizing shader source processing. (#1978, #1987)
Fixes
- Assorted fixes and cleanups. (#1971)
- Tiles are no longer loaded for tile sources that aren't used in any scene layers - thanks @polar! (#1975)
- Fixed a potential crash in
TextStyleBuilder
. (#1969) - Fixed a divide-by-zero for map animations with zero duration. (#1983)
- Fixed paths in benchmark scripts. (#1985)
- Fixed a compile error on Linux with certain FontConfig versions - thanks @Lecrapouille! (#1988)