Merge pull request #1351 from twpayne/openseamap

Add crossOrigin option to ol.source.OSM options
This commit is contained in:
Tom Payne
2013-12-13 13:18:08 -08:00
4 changed files with 45 additions and 19 deletions

View File

@@ -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.