Keep ol.Color as Array<number>

This commit is contained in:
Tim Schaub
2016-09-10 11:12:10 -06:00
parent c7e743805b
commit f61a43b3c6
9 changed files with 15 additions and 14 deletions

View File

@@ -150,7 +150,7 @@ ol.renderer.webgl.VectorLayer.prototype.hasFeatureAtCoordinate = function(coordi
/**
* @param {ol.Pixel} pixel Pixel.
* @param {olx.FrameState} frameState FrameState.
* @param {function(this: S, ol.layer.Layer, ol.Color): T} callback Layer
* @param {function(this: S, ol.layer.Layer, (Uint8ClampedArray|Uint8Array)): T} callback Layer
* callback.
* @param {S} thisArg Value to use as `this` when executing `callback`.
* @return {T|undefined} Callback result.