Skip to content

Releases: tangrams/tangram-es

0.4.5-android

05 Nov 05:56
Compare
Choose a tag to compare

This is a minor update to the Tangram Android SDK. There are no breaking changes to the Android SDK interface in this release.

Features

  • Feature selection now applies to all feature types, not just point features! (#948)

Fixes

  • Prevented a possible race condition (#1037)
  • Prevented a null pointer dereference when some fonts are missing (#1038)
  • Ensured that the correct 'anchor' is always applied to point labels (#1046)
  • Applied scene imports in the same order as in tangram-js (#1026)
  • Removed some very expensive regex operations that were making some scenes slow to load (#1060)

0.4.3-android

20 Oct 15:08
Compare
Choose a tag to compare

This is a minor update to the Tangram Android SDK. There are no breaking changes to the Android SDK interface in this release.

Features

  • Added a max_tilt property for scene cameras (#937)
  • Tiled data sources can now have a min_display_zoom and max_display_zoom (#944, thanks @hallahan!)
  • Point labels can now stick to the ground using the flat parameter and change their orientation using the angle parameter (#925)

Fixes

  • Fixed add and multiply blend mode to do depth testing (f59e0ac)
  • Fixed a segfault that occurred if bundled fonts couldn't be found (#929)
  • Nested text elements in labels now inherit a collide value from their parent label (#928)
  • The opaque blend mode was incorrectly denoted as none (#947)
  • Fixed some shader errors not being correctly logged (#967)
  • global value references now updated if the corresponding global changes (#965)
  • global values used in JS functions now have the correct scalar types (#979)
  • Fixed some 'any' filters that were misinterpreted as 'all' filters (#980)
  • Texture coordinates on extruded polygons now match tangram-js (#996)
  • Fixed font URL resolution (#991 & #993)
  • Fixed an issue where the map would not draw until an input or position change occurred (#1007)
  • Fix some crashes that could occur when rapidly creating and destroying map instances (#1010)

0.4.2-android

19 Aug 00:21
Compare
Choose a tag to compare

This release adds some new features to tangram along with couple of bug fixes. One of the major feature in this release is the support of automatic label anchor placement. A details list of updates follows:

Features

  • #874: Adds support for loading remote fonts, including support for woff font files. Refer the docs for more information on using fonts block in a scene file.
  • #887: A bunch of improvements were done to internal GL state handling, mainly to support RenderStates for multiple map instances.
  • #893: One of the major features added in this release is the support for dynamic label anchoring. Refer the docs for more information about its usage in the scene file. This also improved label placement consistency.
  • #885: Updated the usage of text coupled pois to have a required parameter. docs

Fixes

  • #900: Fixes an issue when #undef in shader injection were not handled properly.
  • #915: Fixes #912. Stricter check in TileManager::setDataSources to add/update datasources.

Misc

  • #918: Some basic cleanup to remove platform specific code from core tangram code.

0.4.1-android

04 Aug 18:06
Compare
Choose a tag to compare

This is a patched release to the previous 0.4-android release and includes some critical fixes.

Fixes

  • A runtime exception is thrown if any native object is accessed post its destruction. This makes sure client application is not trying to access a MapData object or MapController object after these are removed/destroyed. Refer: #876
  • A bunch of uninitialised variables were fixed in the core code. This also fixed #843. Refer: #871, #881
  • Fixes an issue where all raster textures were y-flipped. Refer: #879
  • Fixes offsetting of labels, wrong y offsets applied. Refer: #894

0.4-android

22 Jul 23:00
Compare
Choose a tag to compare

This is a major update to the Tangram Android SDK. There are several new features and breaking changes to the Android SDK interface in this release.

Features

  • New methods setCameraType and getCameraType and the CameraType enum were added to MapController to make switching camera modes more convenient. (#793)
  • versionName and versionCode variables are now available on the BuildConfig object. (#796)
  • The DebugFlag enum has a new entry, TANGRAM_STATS, to enable an on-screen graph of frame times. (#790)
  • MapView$getMapAsync and MapController$loadScene now accept HTTP(S) URLs as scene file paths. Relative URLs specified within these scenes are resolved relative to the original URL of the scene file. Scene updates can also be performed asynchronously. (#776)
  • The MapController method coordinatesAtScreenPosition(float x, float y) has been changed to screenPositionToLngLat(PointF position). The method now returns null if the given screen position does not correspond to a geographic point. (#809, #822)
  • MapController has a new method lngLatToScreenPosition(LngLat position) which performs the inverse of screenPositionToLngLat(PointF position). (#809, #822)
  • Scene files used with tangram-es can now use the 'import' syntax to combine and modularize multiple scene files. (#776)
  • Scene files used with tangram-es can now use the 'dash array' syntax to add patterns to lines. (#772)
  • Scene files used with tangram-es can now specify a texture by using a base64 data URI as the URL for the texture,which allows you to include small textures "inline". (cc399b9)
  • MapController has a new method useCachedGlState(boolean use) which enables minor internal rendering optimization for applications that do not use OpenGL outside of tangram-es. See the 'Fixes' section for an explanation. (#785)
  • Label placement has been re-engineered to both reduce CPU usage and fit more labels into a given view. (#749)

Fixes

  • Several potential cases of uninitialized member access in native code have been corrected. (#803, #835, #837)
  • A bug that caused onViewComplete() to never execute was fixed. (#802)
  • Previously it was possible for OpenGL calls outside of tangram-es to interfere with internal state tracking and cause unexpected visual artifacts. This state tracking is now reset at the beginning of each frame unless useCachedGlState() has been explicitly enabled by the application. (#785)
  • Previously, some properties of a map (including the map position and any features added through a MapData) would not be reset when an Activity using a MapView was destroyed and re-created. Due to some refactoring of the tangram-es native library, this is no longer the case. All properties and data associated with a map will now be created and destroyed along with the lifecycle of your Activity. (#810 & #844)

0.3.2-android

14 Jun 23:50
Compare
Choose a tag to compare

This is a minor update to the Tangram Android SDK. There are no breaking changes to the Android SDK interface in this release.

Fixes

  • Data sources added to the map at run time were disassociated from the map when a scene update was triggered. This is corrected by #786
  • The internally-tracked GL state could have misplaced texture/unit bindings. This is corrected by #784

0.3.1-android

08 Jun 22:44
Compare
Choose a tag to compare

This is a minor update to the Tangram Android SDK. There are no breaking changes to the Android SDK interface in this release.

Fixes

  • Shader source strings were not properly terminated with NULL, which causes some OpenGL drivers to crash. This is fixed by 9da0a12
  • Potential data races between scene updates and MapData updates were fixed by f51d733
  • Devices running Android 6.0 (Marshmallow) could encounter a crash related to JNI reference leaks, this was fixed by #779
  • The CMake build script now checks whether you are missing git submodules or using an unsupported NDK version and provides helpful suggestions.

0.3-android

28 May 22:43
Compare
Choose a tag to compare

This is a new version of the Tangram Android SDK. There should be no breaking changes to the Android interface in this release.

Features

  • Raster (image) tiles are now a supported data source, see #700 and tangrams/tangram#282
  • A combined "point" and "text" style is now available, making labeled points more convenient, see #721 and tangrams/tangram#306
  • Android library size has been substantially reduced, see #752 and #745

Fixes

  • If getMapAsync is called multiple times with different scene files, the new scene files are loaded as expected now (instead of loading the first scene file again), see #737
  • Thin lines will no longer disappear when over-zoomed by a large factor, see #739
  • System fonts are now found and used on Android versions < 5.0, see #747

Patches 0.2.1-android release

04 May 21:04
Compare
Choose a tag to compare

Bug Fix:

  • Some android devices were crashing on font loading, because of some uninitialized variables in alfons library.

Note: All documentation remains the same and can be referred here.

Patches 0.2-android release

29 Apr 18:42
Compare
Choose a tag to compare

Bug Fix:

  • A NullPointer Exception if the map scene being loaded had a animated property.

Read more about Tangram Android SDK.