From 1208dab3e9104d26d3af9b400d19dccf71bc6713 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Mon, 22 Jul 2013 17:08:56 +0200 Subject: [PATCH] Fix various type errors related to features --- src/objectliterals.jsdoc | 2 +- src/ol/renderer/maprenderer.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/objectliterals.jsdoc b/src/objectliterals.jsdoc index 0fd46348b5..70ef57ea1e 100644 --- a/src/objectliterals.jsdoc +++ b/src/objectliterals.jsdoc @@ -15,7 +15,7 @@ * @property {ol.Pixel} pixel Pixel coordinate relative to the map viewport. * @property {Array.|undefined} layers Layers to restrict the * query to. All map layers will be queried if not provided. - * @property {function(Array.)} success Callback for + * @property {function(Array.>)} success Callback for * successful queries. The passed argument is the resulting feature * information for each layer, with array indices being the same as in the * passed `layers` array or in the layer collection as returned from diff --git a/src/ol/renderer/maprenderer.js b/src/ol/renderer/maprenderer.js index 2623110027..4fedb0fff4 100644 --- a/src/ol/renderer/maprenderer.js +++ b/src/ol/renderer/maprenderer.js @@ -101,7 +101,7 @@ ol.renderer.Map.prototype.getCanvas = goog.functions.NULL; /** * @param {ol.Pixel} pixel Pixel coordinate relative to the map viewport. * @param {Array.} layers Layers to query. - * @param {function(Array.)} success Callback for + * @param {function(Array.>)} success Callback for * successful queries. The passed argument is the resulting feature * information. Layers that are able to provide attribute data will put * 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 {Array.} layers Layers to query. - * @param {function(Array.)} success Callback for + * @param {function(Array.>)} success Callback for * successful queries. The passed argument is the resulting feature * information. Layers that are able to provide attribute data will put * ol.Feature instances, other layers will put a string which can either