Merge pull request #1144 from twpayne/wms-logo
Add missing logo option for ol.source.TileWMS
This commit is contained in:
@@ -603,6 +603,7 @@
|
||||
* @property {ol.Extent|undefined} extent Extent.
|
||||
* @property {ol.source.WMSGetFeatureInfoOptions|undefined}
|
||||
* getFeatureInfoOptions Options for GetFeatureInfo.
|
||||
* @property {string|undefined} logo Logo.
|
||||
* @property {ol.tilegrid.TileGrid|undefined} tileGrid Tile grid.
|
||||
* @property {number|undefined} maxZoom Maximum zoom.
|
||||
* @property {ol.proj.ProjectionLike} projection Projection.
|
||||
|
||||
@@ -95,6 +95,7 @@ ol.source.TileWMS = function(options) {
|
||||
attributions: options.attributions,
|
||||
crossOrigin: options.crossOrigin,
|
||||
extent: extent,
|
||||
logo: options.logo,
|
||||
tileGrid: options.tileGrid,
|
||||
opaque: !transparent,
|
||||
projection: options.projection,
|
||||
|
||||
Reference in New Issue
Block a user