Less context
This change removes all changes that were anticipated here for WMS GetFeatureInfo handling, including the IWMS interface and the goog.provide for 'ol.tilegrid'. I'll create a separate pull request for WMS GetFeatureInfo eventually, taking into account the suggestions from the discussion in #402.
This commit is contained in:
@@ -14,15 +14,16 @@ ol.ImageUrlFunctionType;
|
||||
|
||||
/**
|
||||
* @param {string} baseUrl Base URL (may have query data).
|
||||
* @param {Object.<string,*>} params to encode in the url.
|
||||
* @param {function(string, Object.<string,*>, ol.Extent, ol.Size,
|
||||
* ol.Projection)} paramsFunction params function.
|
||||
* @return {ol.ImageUrlFunctionType} Image URL function.
|
||||
*/
|
||||
ol.ImageUrlFunction.createFromParamsFunction =
|
||||
function(baseUrl, paramsFunction) {
|
||||
function(baseUrl, params, paramsFunction) {
|
||||
return function(extent, size, projection) {
|
||||
return paramsFunction(
|
||||
baseUrl, this.params, extent, size, projection);
|
||||
baseUrl, params, extent, size, projection);
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user