public class BingMaps extends Source
| Modifier and Type | Class and Description |
|---|---|
static class |
BingMaps.Culture
Provides an enumeration of Bing Maps culture codes.
|
static class |
BingMaps.ImagerySet
Provides an enumeration of the valid Bing Maps imagery types.
|
counter, JS_GLOBAL, objectIds| Constructor and Description |
|---|
BingMaps(BingMaps.Culture culture,
String key,
BingMaps.ImagerySet imagerySet)
Creates a new instance.
|
BingMaps(String key,
BingMaps.ImagerySet imagerySet)
Creates a new instance with the default culture.
|
| Modifier and Type | Method and Description |
|---|---|
BingMaps |
culture(BingMaps.Culture culture)
Sets the culture for this instance.
|
BingMaps.Culture |
getCulture()
Returns the culture for this instance.
|
BingMaps.ImagerySet |
getImagerySet()
Returns the imagery set for this instance.
|
String |
getJsType()
Returns a String with the type of Javascript object that this object represents.
|
String |
getKey()
Returns the Bing Maps API key for this instance.
|
BingMaps |
imagerySet(BingMaps.ImagerySet imagerySet)
Sets the imagery set for this instance.
|
BingMaps |
key(String key)
Sets the Bing Maps API key for this instance.
|
String |
renderJs()
Returns a String with containing the rendered Javascript code for this object.
|
void |
setCulture(BingMaps.Culture culture)
Sets the culture for this instance.
|
void |
setImagerySet(BingMaps.ImagerySet imagerySet)
Sets the imagery set for this instance.
|
void |
setKey(String key)
Sets the Bing Maps API key for this instance.
|
escapeQuoteJs, getJsId, getJsIdWithSuffixpublic BingMaps(String key, BingMaps.ImagerySet imagerySet)
key - Bing Maps API keyimagerySet - Imagery set type to displaypublic BingMaps(BingMaps.Culture culture, String key, BingMaps.ImagerySet imagerySet)
culture - Culture, used for displaying labels, etc.key - The Bing Maps API keyimagerySet - Imagery set type to displaypublic BingMaps.Culture getCulture()
public void setCulture(BingMaps.Culture culture)
culture - New valuepublic BingMaps culture(BingMaps.Culture culture)
culture - New valuepublic String getKey()
public void setKey(String key)
key - New valuepublic BingMaps key(String key)
key - New valuepublic BingMaps.ImagerySet getImagerySet()
public void setImagerySet(BingMaps.ImagerySet imagerySet)
imagerySet - New valuepublic BingMaps imagerySet(BingMaps.ImagerySet imagerySet)
imagerySet - New valuepublic String getJsType()
JavascriptObjectgetJsType in interface IJavascriptObjectgetJsType in class Sourcepublic String renderJs()
JavascriptObjectrenderJs in interface IJavascriptObjectrenderJs in class SourceCopyright © 2015. All rights reserved.