Bing layer using direct tile access as provided by Bing Maps REST Services. See http://msdn.microsoft.com
| OpenLayers. | Bing layer using direct tile access as provided by Bing Maps REST Services. |
| Properties | |
| type | {String} The layer identifier. |
| culture | {String} The culture identifier. |
| metadataParams | {Object} Optional url parameters for the Get Imagery Metadata request as described here: http://msdn.microsoft.com |
| tileOptions | {Object} optional configuration options for OpenLayers.Tile instances created by this Layer. |
| Constructor | |
| OpenLayers. | Create a new Bing layer. |
| Functions | |
| clone |
{String} The layer identifier. Any non-birdseye imageryType from http://msdn.microsoft.com
{String} The culture identifier. See http://msdn.microsoft.com
{Object} Optional url parameters for the Get Imagery Metadata request as described here: http://msdn.microsoft.com
{Object} optional configuration options for OpenLayers.Tile instances created by this Layer. Default is
{crossOriginKeyword: 'anonymous'}Create a new Bing layer.
var road = new OpenLayers.Layer.Bing({
name: "My Bing Aerial Layer",
type: "Aerial",
key: "my-api-key-here",
});| options | {Object} Configuration properties for the layer. |
| key | {String} Bing Maps API key for your application. Get one at http://bingmapsportal.com/. |
| type | {String} The layer identifier. Any non-birdseye imageryType from http://msdn.microsoft.com |
Any other documented layer properties can be provided in the config object.
clone: function( obj )
| obj | {Object} |
{OpenLayers.Layer.Bing} An exact clone of this OpenLayers.Layer.Bing
clone: function( obj )