Description
Class added v1.4.dojo.require("esri.virtualearth.VETiledLayer"); Bing Maps tiled layer. At version 2.0, Bing Maps uses a key instead of token, client and server. If you are working with the 1.x version of the ArcGIS JavaScript API, you will need to use tokens, view the information
here on setting up a Virtual Earth token page.
Samples
Search for
samples that use this class.
Class hierarchy
esri.layers.Layer
|_ esri.layers.TiledMapServiceLayer
|_ esri.virtualearth.VETiledLayer
Constructor
Properties
Constants
Methods
Constructor Detail
esri.virtualearth.VETiledLayer(options)
Creates a new VETiledLayer object.
Parameters:
|
<Object>
options |
Required |
See options list for parameters.
|
Options:
Code snippets:
var veTileLayer = new esri.virtualearth.VETiledLayer({
bingMapsKey: 'Al0VE_jsmagxk4LFghXGlK5JSHfC0tk-eHRubZv_eMYm6wzgQaStYks8g-wWcgk3',
mapStyle: esri.virtualearth.VETiledLayer.MAP_STYLE_AERIAL
});
Properties Detail
Bing Maps style. See Constants table for valid values.
Default value: MAP_STYLE_ROAD
Methods Detail
Sets the culture in which to return results.
Return value: none
Input Parameters:
Sets the Bing Maps style.
Return value: none
Input Parameters:
|
<String> style |
Required |
Bing Maps style. See Constants table for valid values. |