Merge pull request #1351 from twpayne/openseamap
Add crossOrigin option to ol.source.OSM options
This commit is contained in:
@@ -666,6 +666,8 @@
|
||||
/**
|
||||
* @typedef {Object} olx.source.OSMOptions
|
||||
* @property {Array.<ol.Attribution>|undefined} attributions Attributions.
|
||||
* @property {null|string|undefined} crossOrigin crossOrigin setting for image
|
||||
* requests. Default is `anonymous`.
|
||||
* @property {number|undefined} maxZoom Max zoom.
|
||||
* @property {ol.TileLoadFunctionType|undefined} tileLoadFunction Optional
|
||||
* function to load a tile given a URL.
|
||||
|
||||
Reference in New Issue
Block a user