Remove lint
This commit is contained in:
@@ -414,8 +414,7 @@ ol.render.canvas.Replay.prototype.replay_ = function(
|
|||||||
break;
|
break;
|
||||||
case ol.render.canvas.Instruction.END_GEOMETRY:
|
case ol.render.canvas.Instruction.END_GEOMETRY:
|
||||||
if (featureCallback !== undefined) {
|
if (featureCallback !== undefined) {
|
||||||
feature =
|
feature = /** @type {ol.Feature|ol.render.Feature} */ (instruction[1]);
|
||||||
/** @type {ol.Feature|ol.render.Feature} */ (instruction[1]);
|
|
||||||
var result = featureCallback(feature);
|
var result = featureCallback(feature);
|
||||||
if (result) {
|
if (result) {
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ ol.renderer.canvas.VectorTileLayer.prototype.createReplayGroup_ = function(
|
|||||||
0,
|
0,
|
||||||
-sourceTileExtent[0], -sourceTileExtent[3]);
|
-sourceTileExtent[0], -sourceTileExtent[3]);
|
||||||
extent = (ol.transform.apply(transform, [sharedExtent[0], sharedExtent[3]])
|
extent = (ol.transform.apply(transform, [sharedExtent[0], sharedExtent[3]])
|
||||||
.concat(ol.transform.apply(transform, [sharedExtent[2], sharedExtent[1]])));
|
.concat(ol.transform.apply(transform, [sharedExtent[2], sharedExtent[1]])));
|
||||||
} else {
|
} else {
|
||||||
tileResolution = resolution;
|
tileResolution = resolution;
|
||||||
extent = sharedExtent;
|
extent = sharedExtent;
|
||||||
|
|||||||
@@ -74,8 +74,7 @@ ol.source.ImageWMS = function(opt_options) {
|
|||||||
* @private
|
* @private
|
||||||
* @type {ol.source.WMSServerType|undefined}
|
* @type {ol.source.WMSServerType|undefined}
|
||||||
*/
|
*/
|
||||||
this.serverType_ =
|
this.serverType_ = /** @type {ol.source.WMSServerType|undefined} */ (options.serverType);
|
||||||
/** @type {ol.source.WMSServerType|undefined} */ (options.serverType);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
|
|||||||
@@ -71,8 +71,7 @@ ol.source.TileWMS = function(opt_options) {
|
|||||||
* @private
|
* @private
|
||||||
* @type {ol.source.WMSServerType|undefined}
|
* @type {ol.source.WMSServerType|undefined}
|
||||||
*/
|
*/
|
||||||
this.serverType_ =
|
this.serverType_ = /** @type {ol.source.WMSServerType|undefined} */ (options.serverType);
|
||||||
/** @type {ol.source.WMSServerType|undefined} */ (options.serverType);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
|
|||||||
Reference in New Issue
Block a user