Constructor
new BingImageryUrlBuilder(imagerySet, bingMapsKey)
Constructs a URL builder for Bing imagery.
Parameters:
Name | Type | Description |
---|---|---|
imagerySet |
String | The name of the imagery set to display. |
bingMapsKey |
String | The Bing Maps key to use for the image requests. If null or undefined, the key at WorldWind.BingMapsKey is used. If that is null or undefined, the default WorldWind Bing Maps key is used, but this fallback is provided only for non-production use. If you are using Web WorldWind in an app or a web page, you must obtain your own key from the Bing Maps Portal and either pass it as a parameter to this constructor or specify it as the property WorldWind.BingMapsKey. |
- Source:
Methods
urlForTile(tile, imageFormat) → {String}
Creates the URL string for a Bing Maps request.
Parameters:
Name | Type | Description |
---|---|---|
tile |
Tile | The tile for which to create the URL. |
imageFormat |
String | This argument is not used. |
- Source:
Throws:
-
If the specified tile is null or undefined.
- Type
- ArgumentError
Returns:
The URL for the specified tile.
- Type
- String