Compare commits

..

3 Commits

Author SHA1 Message Date
Tim Schaub
6ed8a9229f Update package version to 4.3.2 2017-08-31 16:25:07 -06:00
Tim Schaub
60b2290add Changelog for v4.3.2 2017-08-31 16:24:14 -06:00
Frederic Junod
afcc86558c Export ol.Sphere.getLength and ol.Sphere.getArea 2017-08-31 16:20:15 -06:00
4 changed files with 11 additions and 2 deletions

7
changelog/v4.3.2.md Normal file
View File

@@ -0,0 +1,7 @@
# 4.3.2
The v4.3.2 release includes a single fix.
## Fixes
* [#7140](https://github.com/openlayers/openlayers/pull/7140) - Export ol.Sphere.getLength and ol.Sphere.getArea ([@fredj](https://github.com/fredj))

View File

@@ -1,6 +1,6 @@
{
"name": "openlayers",
"version": "4.3.1",
"version": "4.3.2",
"description": "Build tools and sources for developing OpenLayers based mapping applications",
"keywords": [
"map",

View File

@@ -1,6 +1,6 @@
{
"name": "ol",
"version": "4.3.1",
"version": "4.3.2",
"description": "OpenLayers as ES2015 modules",
"main": "index.js",
"module": "index.js",

View File

@@ -110,6 +110,7 @@ ol.Sphere.DEFAULT_RADIUS = 6371008.8;
* calculation. By default, geometries are assumed to be in 'EPSG:3857'.
* You can change this by providing a `projection` option.
* @return {number} The spherical length (in meters).
* @api
*/
ol.Sphere.getLength = function(geometry, opt_options) {
var options = opt_options || {};
@@ -205,6 +206,7 @@ ol.Sphere.getDistance_ = function(c1, c2, radius) {
* calculation. By default, geometries are assumed to be in 'EPSG:3857'.
* You can change this by providing a `projection` option.
* @return {number} The spherical area (in square meters).
* @api
*/
ol.Sphere.getArea = function(geometry, opt_options) {
var options = opt_options || {};