Use olx namespace for options types in source code
sed command used: find src/ol -name '*.js' -exec sed -ri 's/\{ol(\.(\w|\.)+Options\=?\})/{olx\1/' \{\} \;
This commit is contained in:
@@ -15,7 +15,7 @@ goog.require('ol.source.wms');
|
||||
* @constructor
|
||||
* @extends {ol.source.Image}
|
||||
* @implements {ol.source.FeatureInfoSource}
|
||||
* @param {ol.source.ImageWMSOptions} options Options.
|
||||
* @param {olx.source.ImageWMSOptions} options Options.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.source.ImageWMS = function(options) {
|
||||
@@ -42,11 +42,11 @@ ol.source.ImageWMS = function(options) {
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {ol.source.WMSGetFeatureInfoOptions}
|
||||
* @type {olx.source.WMSGetFeatureInfoOptions}
|
||||
*/
|
||||
this.getFeatureInfoOptions_ = goog.isDef(options.getFeatureInfoOptions) ?
|
||||
options.getFeatureInfoOptions :
|
||||
/** @type {ol.source.WMSGetFeatureInfoOptions} */ ({});
|
||||
/** @type {olx.source.WMSGetFeatureInfoOptions} */ ({});
|
||||
|
||||
/**
|
||||
* @private
|
||||
|
||||
Reference in New Issue
Block a user