Rename _ol_geom_Geometry_ to Geometry

This commit is contained in:
Tim Schaub
2017-12-14 08:58:46 -07:00
parent ac7985a5ad
commit 87e665d60e
9 changed files with 39 additions and 39 deletions
+4 -4
View File
@@ -5,7 +5,7 @@ import {inherits} from '../index.js';
import _ol_events_ from '../events.js';
import _ol_events_EventType_ from '../events/EventType.js';
import {createOrUpdateEmpty, closestSquaredDistanceXY, extend, getCenter} from '../extent.js';
import _ol_geom_Geometry_ from '../geom/Geometry.js';
import Geometry from '../geom/Geometry.js';
import _ol_geom_GeometryType_ from '../geom/GeometryType.js';
import _ol_obj_ from '../obj.js';
@@ -20,7 +20,7 @@ import _ol_obj_ from '../obj.js';
*/
var _ol_geom_GeometryCollection_ = function(opt_geometries) {
_ol_geom_Geometry_.call(this);
Geometry.call(this);
/**
* @private
@@ -31,7 +31,7 @@ var _ol_geom_GeometryCollection_ = function(opt_geometries) {
this.listenGeometriesChange_();
};
inherits(_ol_geom_GeometryCollection_, _ol_geom_Geometry_);
inherits(_ol_geom_GeometryCollection_, Geometry);
/**
@@ -321,6 +321,6 @@ _ol_geom_GeometryCollection_.prototype.translate = function(deltaX, deltaY) {
*/
_ol_geom_GeometryCollection_.prototype.disposeInternal = function() {
this.unlistenGeometriesChange_();
_ol_geom_Geometry_.prototype.disposeInternal.call(this);
Geometry.prototype.disposeInternal.call(this);
};
export default _ol_geom_GeometryCollection_;