Displays Bing maps layers. A Bing maps layer displays map content from a Bing Maps web service, providing access to static map tiles and imagery metadata.
Map style and culture can be customized prior to loading the layer.
Bing maps require an API key from Microsoft. There are two ways to set this key:
By providing an ArcGIS portal configured with a Bing Maps key. For more information, see https://blogs.esri.com/esri/supportcenter/2014/01/27/how-to-install-a-microsoft-bing-key-and-access-the-imagery-from-the-add-basemap-window/
By providing a Bing Maps key directly for this layer. For more information, see https://msdn.microsoft.com/en-us/library/ff428642.aspx
A Bing maps layer will fail to load if it does not have a Bing map key or a Portal from where it can get the Bing map key. In this situation, you can set the BingMapsLayer.getKey() and call Loadable.retryLoad().
Bing maps layers do not support identify, query, selection, or time.
To use the BingMapsLayer you must adhere to https://links.esri.com/runtime/bing_guidelines.
Performance characteristics Bing maps layers perform similarly to other tiled layers. Raster tiles are fetched from Bing's servers on demand.
Creates a Bing maps layer object with the API key coming from the supplied Portal. Use this function to create a Bing maps layer.
Creates a Bing maps layer object. Use this function to create a Bing maps layer.
Cancels loading metadata for the Loadable object.
Fetches the list of legend info.
Returns the layer content's effective visibility at the specified scale. Returns the effective layer content visibility. This effective visibility takes care of the effective visibility of the parents at the specified scale. Will return false if an error occurs.
Sets the attribution string for the image tiled layer. Set the attribution string for the image tiled layer.
The unique identifying string for the layer, for example specified in a map or scene. The id is used by other parts of this API to refer to a specific Layer, such as in a set of FeatureFenceParameters or a FacilityLayerDefinition. If not supplied, all layers will be assigned a unique id when created.