Add crossOrigin option to ol.source.OSM options

This commit is contained in:
Tom Payne
2013-12-10 13:13:22 +01:00
parent d147d11b51
commit 46f63f1358
2 changed files with 6 additions and 1 deletions

View File

@@ -665,6 +665,8 @@
/**
* @typedef {Object} ol.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.