Fix various type errors related to features
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* @property {ol.Pixel} pixel Pixel coordinate relative to the map viewport.
|
* @property {ol.Pixel} pixel Pixel coordinate relative to the map viewport.
|
||||||
* @property {Array.<ol.layer.Layer>|undefined} layers Layers to restrict the
|
* @property {Array.<ol.layer.Layer>|undefined} layers Layers to restrict the
|
||||||
* query to. All map layers will be queried if not provided.
|
* query to. All map layers will be queried if not provided.
|
||||||
* @property {function(Array.<string|undefined>)} success Callback for
|
* @property {function(Array.<Array.<string|undefined>>)} success Callback for
|
||||||
* successful queries. The passed argument is the resulting feature
|
* successful queries. The passed argument is the resulting feature
|
||||||
* information for each layer, with array indices being the same as in the
|
* information for each layer, with array indices being the same as in the
|
||||||
* passed `layers` array or in the layer collection as returned from
|
* passed `layers` array or in the layer collection as returned from
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ ol.renderer.Map.prototype.getCanvas = goog.functions.NULL;
|
|||||||
/**
|
/**
|
||||||
* @param {ol.Pixel} pixel Pixel coordinate relative to the map viewport.
|
* @param {ol.Pixel} pixel Pixel coordinate relative to the map viewport.
|
||||||
* @param {Array.<ol.layer.Layer>} layers Layers to query.
|
* @param {Array.<ol.layer.Layer>} layers Layers to query.
|
||||||
* @param {function(Array.<ol.Feature|string>)} success Callback for
|
* @param {function(Array.<Array.<string|undefined>>)} success Callback for
|
||||||
* successful queries. The passed argument is the resulting feature
|
* successful queries. The passed argument is the resulting feature
|
||||||
* information. Layers that are able to provide attribute data will put
|
* information. Layers that are able to provide attribute data will put
|
||||||
* ol.Feature instances, other layers will put a string which can either
|
* ol.Feature instances, other layers will put a string which can either
|
||||||
@@ -137,7 +137,7 @@ ol.renderer.Map.prototype.getFeatureInfoForPixel =
|
|||||||
/**
|
/**
|
||||||
* @param {ol.Pixel} pixel Pixel coordinate relative to the map viewport.
|
* @param {ol.Pixel} pixel Pixel coordinate relative to the map viewport.
|
||||||
* @param {Array.<ol.layer.Layer>} layers Layers to query.
|
* @param {Array.<ol.layer.Layer>} layers Layers to query.
|
||||||
* @param {function(Array.<ol.Feature|string>)} success Callback for
|
* @param {function(Array.<Array.<ol.Feature|undefined>>)} success Callback for
|
||||||
* successful queries. The passed argument is the resulting feature
|
* successful queries. The passed argument is the resulting feature
|
||||||
* information. Layers that are able to provide attribute data will put
|
* information. Layers that are able to provide attribute data will put
|
||||||
* ol.Feature instances, other layers will put a string which can either
|
* ol.Feature instances, other layers will put a string which can either
|
||||||
|
|||||||
Reference in New Issue
Block a user