Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ed8a9229f | ||
|
|
60b2290add | ||
|
|
afcc86558c |
7
changelog/v4.3.2.md
Normal file
7
changelog/v4.3.2.md
Normal 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))
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "openlayers",
|
"name": "openlayers",
|
||||||
"version": "4.3.1",
|
"version": "4.3.2",
|
||||||
"description": "Build tools and sources for developing OpenLayers based mapping applications",
|
"description": "Build tools and sources for developing OpenLayers based mapping applications",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"map",
|
"map",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ol",
|
"name": "ol",
|
||||||
"version": "4.3.1",
|
"version": "4.3.2",
|
||||||
"description": "OpenLayers as ES2015 modules",
|
"description": "OpenLayers as ES2015 modules",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"module": "index.js",
|
"module": "index.js",
|
||||||
|
|||||||
@@ -110,6 +110,7 @@ ol.Sphere.DEFAULT_RADIUS = 6371008.8;
|
|||||||
* calculation. By default, geometries are assumed to be in 'EPSG:3857'.
|
* calculation. By default, geometries are assumed to be in 'EPSG:3857'.
|
||||||
* You can change this by providing a `projection` option.
|
* You can change this by providing a `projection` option.
|
||||||
* @return {number} The spherical length (in meters).
|
* @return {number} The spherical length (in meters).
|
||||||
|
* @api
|
||||||
*/
|
*/
|
||||||
ol.Sphere.getLength = function(geometry, opt_options) {
|
ol.Sphere.getLength = function(geometry, opt_options) {
|
||||||
var options = 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'.
|
* calculation. By default, geometries are assumed to be in 'EPSG:3857'.
|
||||||
* You can change this by providing a `projection` option.
|
* You can change this by providing a `projection` option.
|
||||||
* @return {number} The spherical area (in square meters).
|
* @return {number} The spherical area (in square meters).
|
||||||
|
* @api
|
||||||
*/
|
*/
|
||||||
ol.Sphere.getArea = function(geometry, opt_options) {
|
ol.Sphere.getArea = function(geometry, opt_options) {
|
||||||
var options = opt_options || {};
|
var options = opt_options || {};
|
||||||
|
|||||||
Reference in New Issue
Block a user