Skip to content

0.8.0

Compare
Choose a tag to compare
@matteblair matteblair released this 25 Aug 00:58

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.

Features

  • Data sources can now specify a tms flag to use the TMS interpretation of tile coordinates. (#1595)
  • Breaking change: Functions that update the map scene now return a SceneID to identify the new scene. When scene changes are complete, a SceneReadyCallback is run with the same SceneID. This allows an application to prepare the map view immediately before it is displayed. This changes the map initialization interface for both Android and iOS. (#1526)
  • Scenes can now be loaded directly from strings of YAML. This is convenient for dynamically combining scene files as a series of imports (example). (#1534 , #1577)
  • Curved labels can now be used with more complex scripts. (#1532)
  • Cancelled URL requests now produce debug (not error) logs, making logs less verbose. (#1611, #1621)

Fixes

  • Invalid scene updates produce more useful error codes. (#1596)
  • The text_source draw parameter now correctly handles non-string values. (#1574 , #1575)
  • Sprite label collision now uses 'offset' values correctly. (#1623)

Android

  • The Android AAR now provides a Proguard configuration to ensure that minification doesn't remove names needed by JNI code. (#1597)
  • CachePolicy now provides an interface to control caching for HTTP requests made by the map. (#1587)

iOS

  • Breaking change: Public APIs have been revised to follow Cocoa naming conventions. (#1599)
  • A build configuration issue occurring with CMake 3.9 is now fixed. (#1589)
  • Client applications can now access and configure headers for HTTP requests made by the map. (#1578)
  • Map views now re-render as expected after synchronous scene loads. (#1612)

Raspberry Pi

  • Several build errors and run-time errors are now fixed and additional command-line options are available. (#1583)

macOS

  • Demo app builds are automatically produced for each commit to master and are available to download at: http://ios.mapzen.com (#1606)
  • The demo app now has several useful menu shortcuts for opening and editing scene files from your local files. (#1606)