Documenting tileOptions defaults.
This commit is contained in:
@@ -74,6 +74,16 @@ OpenLayers.Layer.Bing = OpenLayers.Class(OpenLayers.Layer.XYZ, {
|
||||
*/
|
||||
metadataParams: null,
|
||||
|
||||
/** APIProperty: tileOptions
|
||||
* {Object} optional configuration options for <OpenLayers.Tile> instances
|
||||
* created by this Layer. Default is
|
||||
*
|
||||
* (code)
|
||||
* {crossOriginKeyword: 'anonymous'}
|
||||
* (end)
|
||||
*/
|
||||
tileOptions: null,
|
||||
|
||||
/**
|
||||
* Constructor: OpenLayers.Layer.Bing
|
||||
* Create a new Bing layer.
|
||||
|
||||
@@ -63,6 +63,25 @@ OpenLayers.Layer.OSM = OpenLayers.Class(OpenLayers.Layer.XYZ, {
|
||||
*/
|
||||
wrapDateLine: true,
|
||||
|
||||
/** APIProperty: tileOptions
|
||||
* {Object} optional configuration options for <OpenLayers.Tile> instances
|
||||
* created by this Layer. Default is
|
||||
*
|
||||
* (code)
|
||||
* {crossOriginKeyword: 'anonymous'}
|
||||
* (end)
|
||||
*
|
||||
* When using OSM tilesets other than the default ones, it may be
|
||||
* necessary to set this to
|
||||
*
|
||||
* (code)
|
||||
* {crossOriginKeyword: null}
|
||||
* (end)
|
||||
*
|
||||
* if the server does not send Access-Control-Allow-Origin headers.
|
||||
*/
|
||||
tileOptions: null,
|
||||
|
||||
/**
|
||||
* Constructor: OpenLayers.Layer.OSM
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user