Skip to content

Latest commit

 

History

History
91 lines (81 loc) · 10.2 KB

v3.9.0.md

File metadata and controls

91 lines (81 loc) · 10.2 KB

v3.9.0

Summary

The v3.9.0 release includes features and fixes from 62 pull requests since the v3.8.2 release. New features include:

See the complete list below for details. And see the following notes to know how to upgrade from v3.8.x to v3.9.0.

Upgrade notes

ol.style.Circle changes

The experimental getAnchor, getOrigin, and getSize methods have been removed. The anchor and origin of a circle symbolizer are not modifiable, so these properties should not need to be accessed. The radius and stroke width can be used to calculate the rendered size of a circle symbolizer if needed:

// calculate rendered size of a circle symbolizer
var width = 2 * circle.getRadius();
if (circle.getStroke()) {
  width += circle.getStroke().getWidth() + 1;
}

New features and fixes