Skip to main content

1.6

Features

  • Create responsive interactions and conditional styling without having to reload layer data using the new override style API. Find out more in the Override Item Styles docs.
Useful APIs:

NetworkLayer overrideStyle() | ObservationsLayer overrideStyle() | GeoJSONLayer overrideStyle()

  • We've added a new option to show direction on network layer links by adding arrows and flow animation. We've also updated the Graph Analysis functions with a directed option so you can choose whether the direction influences scores.
  • We added a visible property to node and link labels, enabling you to easily hide labels by default on busy maps and use overrideStyle to reveal them, for example, on hover.
Useful Examples:
Useful APIs:

NetworkLink end1.arrow | NetworkLink end2.arrow | NetworkLink flow | NetworkItemLabel visible

Breaking Changes

  • The observations layer options style property has been renamed to mode to better reflect its functionality.
  • The observations layer options autoStyleFadeTime property has been renamed to autoModeFadeTime.
Useful APIs:

ObservationsLayerOptions mode | ObservationsLayerOptions autoModeFadeTime

  • We introduced a maxZoom option, which defaults to 20.
Useful APIs:

MapLibre maxZoom | Mapbox maxZoom | Standalone maxZoom