diff --git a/src/ol/geom/circle.js b/src/ol/geom/circle.js index ac24f592c5..9a882b32ed 100644 --- a/src/ol/geom/circle.js +++ b/src/ol/geom/circle.js @@ -24,8 +24,7 @@ goog.require('ol.proj'); ol.geom.Circle = function(center, opt_radius, opt_layout) { goog.base(this); var radius = goog.isDef(opt_radius) ? opt_radius : 0; - this.setCenterAndRadius(center, radius, - /** @type {ol.geom.GeometryLayout|undefined} */ (opt_layout)); + this.setCenterAndRadius(center, radius, opt_layout); }; goog.inherits(ol.geom.Circle, ol.geom.SimpleGeometry); diff --git a/src/ol/geom/linearring.js b/src/ol/geom/linearring.js index 1f4da71dac..ee9845648a 100644 --- a/src/ol/geom/linearring.js +++ b/src/ol/geom/linearring.js @@ -39,8 +39,7 @@ ol.geom.LinearRing = function(coordinates, opt_layout) { */ this.maxDeltaRevision_ = -1; - this.setCoordinates(coordinates, - /** @type {ol.geom.GeometryLayout|undefined} */ (opt_layout)); + this.setCoordinates(coordinates, opt_layout); }; goog.inherits(ol.geom.LinearRing, ol.geom.SimpleGeometry); diff --git a/src/ol/geom/linestring.js b/src/ol/geom/linestring.js index 1ec7790088..f89bc1a46a 100644 --- a/src/ol/geom/linestring.js +++ b/src/ol/geom/linestring.js @@ -55,8 +55,7 @@ ol.geom.LineString = function(coordinates, opt_layout) { */ this.maxDeltaRevision_ = -1; - this.setCoordinates(coordinates, - /** @type {ol.geom.GeometryLayout|undefined} */ (opt_layout)); + this.setCoordinates(coordinates, opt_layout); }; goog.inherits(ol.geom.LineString, ol.geom.SimpleGeometry); diff --git a/src/ol/geom/multilinestring.js b/src/ol/geom/multilinestring.js index 209921e5de..fb3d94af48 100644 --- a/src/ol/geom/multilinestring.js +++ b/src/ol/geom/multilinestring.js @@ -48,8 +48,7 @@ ol.geom.MultiLineString = function(coordinates, opt_layout) { */ this.maxDeltaRevision_ = -1; - this.setCoordinates(coordinates, - /** @type {ol.geom.GeometryLayout|undefined} */ (opt_layout)); + this.setCoordinates(coordinates, opt_layout); }; goog.inherits(ol.geom.MultiLineString, ol.geom.SimpleGeometry); diff --git a/src/ol/geom/multipoint.js b/src/ol/geom/multipoint.js index 0e1135ecf8..ef1f0251b3 100644 --- a/src/ol/geom/multipoint.js +++ b/src/ol/geom/multipoint.js @@ -25,8 +25,7 @@ goog.require('ol.math'); */ ol.geom.MultiPoint = function(coordinates, opt_layout) { goog.base(this); - this.setCoordinates(coordinates, - /** @type {ol.geom.GeometryLayout|undefined} */ (opt_layout)); + this.setCoordinates(coordinates, opt_layout); }; goog.inherits(ol.geom.MultiPoint, ol.geom.SimpleGeometry); diff --git a/src/ol/geom/multipolygon.js b/src/ol/geom/multipolygon.js index 860ee1aee5..d74c7b781d 100644 --- a/src/ol/geom/multipolygon.js +++ b/src/ol/geom/multipolygon.js @@ -78,8 +78,7 @@ ol.geom.MultiPolygon = function(coordinates, opt_layout) { */ this.orientedFlatCoordinates_ = null; - this.setCoordinates(coordinates, - /** @type {ol.geom.GeometryLayout|undefined} */ (opt_layout)); + this.setCoordinates(coordinates, opt_layout); }; goog.inherits(ol.geom.MultiPolygon, ol.geom.SimpleGeometry); diff --git a/src/ol/geom/point.js b/src/ol/geom/point.js index 3d0a133e44..285ee4691d 100644 --- a/src/ol/geom/point.js +++ b/src/ol/geom/point.js @@ -21,8 +21,7 @@ goog.require('ol.math'); */ ol.geom.Point = function(coordinates, opt_layout) { goog.base(this); - this.setCoordinates(coordinates, - /** @type {ol.geom.GeometryLayout|undefined} */ (opt_layout)); + this.setCoordinates(coordinates, opt_layout); }; goog.inherits(ol.geom.Point, ol.geom.SimpleGeometry); diff --git a/src/ol/geom/polygon.js b/src/ol/geom/polygon.js index 676f160dcd..b16263c2ac 100644 --- a/src/ol/geom/polygon.js +++ b/src/ol/geom/polygon.js @@ -77,8 +77,7 @@ ol.geom.Polygon = function(coordinates, opt_layout) { */ this.orientedFlatCoordinates_ = null; - this.setCoordinates(coordinates, - /** @type {ol.geom.GeometryLayout|undefined} */ (opt_layout)); + this.setCoordinates(coordinates, opt_layout); }; goog.inherits(ol.geom.Polygon, ol.geom.SimpleGeometry);