Remove getGeometry() from the API

This commit is contained in:
Andreas Hocevar
2017-05-11 15:53:55 +02:00
parent 366bf46ca1
commit 1d7144564c
2 changed files with 4 additions and 1 deletions

View File

@@ -2,6 +2,10 @@
### Next release
#### Removal of `ol.render.Feature#getGeometry()`
The `ol.render.Feature#getGeometry()` function simply returns the feature itself. Users who relied on this function can use the `ol.render.Feature` instance directly instead.
### v4.1.0
#### Adding duplicate layers to a map throws

View File

@@ -104,7 +104,6 @@ ol.render.Feature.prototype.getFlatCoordinates =
/**
* Get the feature for working with its geometry.
* @return {ol.render.Feature} Feature.
* @api
*/
ol.render.Feature.prototype.getGeometry = function() {
return this;