Treat WMSGetFeatureInfoOptions as other options types

This commit is contained in:
Éric Lemoine
2013-12-12 15:21:49 +01:00
parent 7732c19874
commit f95e0eb785
2 changed files with 8 additions and 9 deletions

View File

@@ -7,13 +7,6 @@ goog.require('goog.object');
goog.require('goog.uri.utils');
/**
* @typedef {{method: (ol.source.WMSGetFeatureInfoMethod|undefined),
* params: (Object.<string,string>|undefined)}}
*/
ol.source.WMSGetFeatureInfoOptions;
/**
* Method to use to get WMS feature info.
* @enum {string}
@@ -74,8 +67,8 @@ ol.source.wms.getUrl =
/**
* @param {string} url URL as provided by the url function.
* @param {ol.Pixel} pixel Pixel.
* @param {olx.source.WMSGetFeatureInfoOptions} options Options as defined in the
* source.
* @param {olx.source.WMSGetFeatureInfoOptions} options Options as defined in
* the source.
* @param {function(string)} success Callback function for successful queries.
* @param {function()=} opt_error Optional callback function for unsuccessful
* queries.