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:
ahocevar
2013-03-20 13:41:36 +01:00
parent 57fdd78a19
commit 5719160155
15 changed files with 22 additions and 75 deletions

View File

@@ -11,14 +11,13 @@ goog.require('ol.source.wms');
/**
* @constructor
* @implements {ol.source.IWMS}
* @extends {ol.source.ImageSource}
* @param {ol.source.SingleImageWMSOptions} options Options.
*/
ol.source.SingleImageWMS = function(options) {
var imageUrlFunction = goog.isDef(options.url) ?
ol.ImageUrlFunction.createFromParamsFunction(
options.url, ol.source.wms.getUrl) :
options.url, options.params, ol.source.wms.getUrl) :
ol.ImageUrlFunction.nullImageUrlFunction;
goog.base(this, {
@@ -30,16 +29,6 @@ ol.source.SingleImageWMS = function(options) {
imageUrlFunction: imageUrlFunction
});
/**
* @inheritDoc
*/
this.url = options.url;
/**
* @inheritDoc
*/
this.params = options.params;
/**
* @private
* @type {ol.Image}