SuperMap.Layer.BingMap

国外版Bing图层,直接访问的是Bing地图的rest服务。 See http://msdn.microsoft.com/en-us/library/ff701713.aspx for more information.  Note: Terms of Service compliant use requires the map to be configured with an SuperMap.Control.Attribution control and the attribution placed on or near the map.

Inherits from

Summary
SuperMap.Layer.BingMap 国外版Bing图层,直接访问的是Bing地图的rest服务。 See http://msdn.microsoft.com/en-us/library/ff701713.aspx for more information.
Properties
culture {String} The culture identifier.
metadataParams {Object} Optional url parameters for the Get Imagery Metadata request as described here: http://msdn.microsoft.com/en-us/library/ff701716.aspx
protocol {String} Protocol to use to fetch Imagery Metadata, tiles and bing logo Can be ‘http:’ ‘https:’ or ‘’
tileOptions {Object} optional configuration options for <SuperMap.Tile> instances created by this Layer.
type {String} The layer identifier.
Constructor
SuperMap.Layer.BingMap 国外版Bing图层的构造函数
Functions
clone

Properties

type

{String} The layer identifier.  Any non-birdseye imageryType from http://msdn.microsoft.com/en-us/library/ff701716.aspx can be used.  Default is “Road”.

culture

{String} The culture identifier.  See http://msdn.microsoft.com/en-us/library/ff701709.aspx for the definition and the possible values.  Default is “en-US”.

metadataParams

{Object} Optional url parameters for the Get Imagery Metadata request as described here: http://msdn.microsoft.com/en-us/library/ff701716.aspx

tileOptions

{Object} optional configuration options for <SuperMap.Tile> instances created by this Layer.  Default is

{crossOriginKeyword: 'anonymous'}

protocol

{String} Protocol to use to fetch Imagery Metadata, tiles and bing logo Can be ‘http:’ ‘https:’ or ‘’

Warning: tiles may not be available under both HTTP and HTTPS protocols.  Microsoft approved use of both HTTP and HTTPS urls for tiles.  However this is undocumented and the Imagery Metadata API always returns HTTP urls.

Default is ‘’, unless when executed from a file:/// uri, in which case it is ‘http:’.

Constructor

SuperMap.Layer.BingMap

国外版Bing图层的构造函数

Example

var road = new SuperMap.Layer.BingMap({
    name: "My Bing Aerial Layer",
    type: "Aerial",
    key: "my-api-key-here",
});

Parameters

options {Object} Configuration properties for the layer.

Required configuration properties

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/en-us/library/ff701716.aspx can be used.

Any other documented layer properties can be provided in the config object.

Functions

clone

clone: function( obj )

Parameters

obj {Object}

Returns

{SuperMap.Layer.BingMap} An exact clone of this SuperMap.Layer.BingMap

clone: function( obj )
将各图层的’attribution’属性显示到地图上。
The XYZ class is designed to make it easier for people who have tiles arranged by a standard XYZ grid.
国外版Bing图层的构造函数
Close