v0.12.5
Improvements
- Support curved labels in several additional languages #555
- Adds curved label support for Burmese, Bengali, Devanagari, Khmer, Gujarati, Gurmukhi, Kannada, Lao, Malayalam, Oriya, Sinhala, Tamil, Thai, Tai Tham, Telugu, and Tibetan
- Use grapheme clusters (instead of characters) to find appropriate visual breakpoints
- Thanks to @mapmeld for the contribution and language expertise!
- Allow
introspection
flag to be passed as an option toTangram.leafletLayer
a347632- e.g.
Tangram.leafletLayer({ scene: 'scene.yaml', introspection: true })
will load the scene with introspection enabled, making a call toscene.setIntrospection(true)
unnecessary
- e.g.
Bug Fixes
- Fix bug where a style's default
draw
parameters could not be overridden a8011a1 - Fix additional right-to-left text issues (mis-classification of neutral characters as RTL)
- Fix incorrect colors in screenshots capture in Firefox #551
- Avoid the need for a custom UglifyJS plugin when bundling Tangram with Webpack
#559 f9e4cef - Suppress source map URL from minified build (prevent console warnings when source map not found)
Internal
- Don't request tiles for a data source if no top-level
layers
are enabled for it (saves networks requests) #560 - Cache text segmentation for improved label performance