Treat WMSGetFeatureInfoOptions as other options types
This commit is contained in:
@@ -775,6 +775,12 @@
|
|||||||
* @todo stability experimental
|
* @todo stability experimental
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef {Object} olx.source.WMSGetFeatureInfoOptions
|
||||||
|
* @property {ol.source.WMSGetFeatureInfoMethod|undefined} method Method.
|
||||||
|
* @property {Object.<string,string>|undefined} params Params.
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} olx.source.WMTSOptions
|
* @typedef {Object} olx.source.WMTSOptions
|
||||||
* @property {Array.<ol.Attribution>|undefined} attributions Attributions.
|
* @property {Array.<ol.Attribution>|undefined} attributions Attributions.
|
||||||
|
|||||||
@@ -7,13 +7,6 @@ goog.require('goog.object');
|
|||||||
goog.require('goog.uri.utils');
|
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.
|
* Method to use to get WMS feature info.
|
||||||
* @enum {string}
|
* @enum {string}
|
||||||
@@ -74,8 +67,8 @@ ol.source.wms.getUrl =
|
|||||||
/**
|
/**
|
||||||
* @param {string} url URL as provided by the url function.
|
* @param {string} url URL as provided by the url function.
|
||||||
* @param {ol.Pixel} pixel Pixel.
|
* @param {ol.Pixel} pixel Pixel.
|
||||||
* @param {olx.source.WMSGetFeatureInfoOptions} options Options as defined in the
|
* @param {olx.source.WMSGetFeatureInfoOptions} options Options as defined in
|
||||||
* source.
|
* the source.
|
||||||
* @param {function(string)} success Callback function for successful queries.
|
* @param {function(string)} success Callback function for successful queries.
|
||||||
* @param {function()=} opt_error Optional callback function for unsuccessful
|
* @param {function()=} opt_error Optional callback function for unsuccessful
|
||||||
* queries.
|
* queries.
|
||||||
|
|||||||
Reference in New Issue
Block a user