Remove unused arg

This commit is contained in:
Tim Schaub
2016-03-18 16:32:27 -06:00
parent 51dfe89425
commit 05cf57dcfc

View File

@@ -505,7 +505,7 @@ ol.render.canvas.Immediate.prototype.drawGeometry = function(geometry) {
this.drawMultiPolygon(/** @type {ol.geom.MultiPolygon} */ (geometry)); this.drawMultiPolygon(/** @type {ol.geom.MultiPolygon} */ (geometry));
break; break;
case ol.geom.GeometryType.GEOMETRY_COLLECTION: case ol.geom.GeometryType.GEOMETRY_COLLECTION:
this.drawGeometryCollection(/** @type {ol.geom.GeometryCollection} */ (geometry), null); this.drawGeometryCollection(/** @type {ol.geom.GeometryCollection} */ (geometry));
break; break;
case ol.geom.GeometryType.CIRCLE: case ol.geom.GeometryType.CIRCLE:
this.drawCircle(/** @type {ol.geom.Circle} */ (geometry)); this.drawCircle(/** @type {ol.geom.Circle} */ (geometry));
@@ -553,9 +553,8 @@ ol.render.canvas.Immediate.prototype.drawFeature = function(feature, style) {
* *
* @param {ol.geom.GeometryCollection} geometryCollectionGeometry Geometry * @param {ol.geom.GeometryCollection} geometryCollectionGeometry Geometry
* collection. * collection.
* @param {ol.Feature} feature Feature.
*/ */
ol.render.canvas.Immediate.prototype.drawGeometryCollection = function(geometryCollectionGeometry, feature) { ol.render.canvas.Immediate.prototype.drawGeometryCollection = function(geometryCollectionGeometry) {
var geometries = geometryCollectionGeometry.getGeometriesArray(); var geometries = geometryCollectionGeometry.getGeometriesArray();
var i, ii; var i, ii;
for (i = 0, ii = geometries.length; i < ii; ++i) { for (i = 0, ii = geometries.length; i < ii; ++i) {