Skip to content

v0.8.0

Compare
Choose a tag to compare
@bcamper bcamper released this 12 Jun 13:11
· 1645 commits to master since this release

New Features

  • Unified point/text style (#306)
  • Dashed line patterns (#312)
  • Support for custom web fonts (#326)
  • Feature selection:
    • Add data source and layer name (see be3640a)
    • Introspection mode to turn interactivity on for all features (#303)
  • Generate polygon centroid label positions for non-tiled GeoJSON/TopoJSON sources (#302)
  • Data source scripts should be relative to scene file (#315)
  • Default updateConfig() to rebuild: true option

Optimizations / Improvements

  • Significant memory use reduction (15% to 50+%) from switch to GL element arrays ( #313)
  • Significant speed-up (20% to 45%) for processing of complex filters (#322)
  • New build process with live reload (#291)
  • Better centroid calculation (proper geometric centroid instead of simple average)
  • Optimize GL uniform setting (#298)
  • Avoid redundant GL calls (for depth function + mask)
    (2d59986, 7a506fd)
  • Remove unnecessary normalization of GL vertex attributes (#309)
  • Cache some Canvas text operations (816b0ab, 84e7117)

Deprecations

  • Remove ability to define textures via "inline objects" (simple URL-based textures can still be defined inline, more complex textures should be moved to the scene's top-level textures object) (18d7978)
  • Remove support for custom shader uniforms for GLSL struct's and arrays of vectors/struct's.
  • Remove ability to create custom data layers by setting the source:data:layer property to a function (this can be done with the more generic data source transform property (4176ca6)

Bug Fixes

  • Fix line width precision loss at high overzoom (#310, #267, #307)
  • Leaflet: adapt scroll wheel behavior for Leaflet 1.0 rc1 (note: if continuous zoom is desired, please use Leaflet 1.0 rc1 or above!)
  • Support sub-meter precision for height values (#318)
  • Support single-feature TopoJSON sources (0a54d8d)
  • Fix loading of data URL images in Safari (CORS bug workaround) (a38cd69)
  • Fix intermittent failures when loading large scripts with data source scripts parameter (1b559f3)