Allow ol.source.{Image,Tile}WMS serverType option to be a string
This commit is contained in:
@@ -84,7 +84,8 @@ ol.source.TileWMS = function(opt_options) {
|
||||
* @private
|
||||
* @type {ol.source.wms.ServerType|undefined}
|
||||
*/
|
||||
this.serverType_ = options.serverType;
|
||||
this.serverType_ =
|
||||
/** @type {ol.source.wms.ServerType|undefined} */ (options.serverType);
|
||||
|
||||
/**
|
||||
* @private
|
||||
|
||||
Reference in New Issue
Block a user