Releases: tangrams/tangram-es
0.4.5-android
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
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 scenecameras
(#937) - Tiled data sources can now have a
min_display_zoom
andmax_display_zoom
(#944, thanks @hallahan!) - Point labels can now stick to the ground using the
flat
parameter and change their orientation using theangle
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 acollide
value from their parent label (#928) - The
opaque
blend mode was incorrectly denoted asnone
(#947) - Fixed some shader errors not being correctly logged (#967)
global
value references now updated if the correspondingglobal
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
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 usingfonts
block in a scene file. - #887: A bunch of improvements were done to internal GL state handling, mainly to support
RenderStates
for multiplemap
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
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 orMapController
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
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
andgetCameraType
and theCameraType
enum were added toMapController
to make switching camera modes more convenient. (#793) versionName
andversionCode
variables are now available on theBuildConfig
object. (#796)- The
DebugFlag
enum has a new entry,TANGRAM_STATS
, to enable an on-screen graph of frame times. (#790) MapView$getMapAsync
andMapController$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
methodcoordinatesAtScreenPosition(float x, float y)
has been changed toscreenPositionToLngLat(PointF position)
. The method now returnsnull
if the given screen position does not correspond to a geographic point. (#809, #822) MapController
has a new methodlngLatToScreenPosition(LngLat position)
which performs the inverse ofscreenPositionToLngLat(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 methoduseCachedGlState(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 anActivity
using aMapView
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 yourActivity
. (#810 & #844)
0.3.2-android
This is a minor update to the Tangram Android SDK. There are no breaking changes to the Android SDK interface in this release.
Fixes
0.3.1-android
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
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
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
Bug Fix:
- A NullPointer Exception if the map scene being loaded had a animated property.
Read more about Tangram Android SDK.