Class BingMapsMapProviderSetting
- java.lang.Object
-
- com.supermap.services.components.spi.MapProviderSetting
-
- com.supermap.services.providers.BingMapsMapProviderSetting
-
- All Implemented Interfaces:
- java.io.Serializable
public class BingMapsMapProviderSetting extends MapProviderSetting
BingMaps Map service provider configuration object.
The object used for BingMaps service providers need the relevant parameters of information.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.supermap.services.components.spi.MapProviderSetting
dataPrjCoordSysType, watermark
-
-
Constructor Summary
Constructors Constructor and Description BingMapsMapProviderSetting()
-
Method Summary
Methods Modifier and Type Method and Description booleanequals(java.lang.Object obj)To determine whether the two objects are equal.java.lang.StringgetApiKey()Gets the key of BingMaps.java.lang.StringgetBingmapsRootUrl()booleangetCacheEnabled()Whether to use cache.java.lang.StringgetImagerySet()Gets the map set name for BingMaps.java.lang.StringgetMapVersion()BingMaps map version, such as "v0", "v1".inthashCode()Gets the hash value of the object instancebooleanisUseTileImage()voidsetApiKey(java.lang.String apiKey)Sets the key of BingMaps.voidsetBingmapsRootUrl(java.lang.String bingmapsRootUrl)voidsetCacheEnable(boolean cacheEnable)Deprecated.voidsetCacheEnabled(boolean cacheEnabled)Sets whether to use cachingvoidsetImagerySet(java.lang.String imagerySet)Sets the map set name for BingMaps.voidsetMapVersion(java.lang.String mapVersion)Sets BingMaps map version, such as "v0", "v1".voidsetUseTileImage(boolean useTileImage)-
Methods inherited from class com.supermap.services.components.spi.MapProviderSetting
getCacheMode, getCacheVersion, getName, getOutputPath, getOutputSite, getWatermark, setCacheMode, setCacheVersion, setName, setOutputPath, setOutputSite, setWatermark
-
-
-
-
Method Detail
-
setCacheEnable
@Deprecated public void setCacheEnable(boolean cacheEnable)
Deprecated. UsesetCacheEnabled(boolean)Sets whether to use caching.
- Parameters:
cacheEnable- Whether to use caching
-
getApiKey
public java.lang.String getApiKey()
Gets the key of BingMaps. Access to the BingMaps map service requires a key.
- Returns:
- BingMap key.
-
setApiKey
public void setApiKey(java.lang.String apiKey)
Sets the key of BingMaps. Access to the BingMaps map service requires a key.
- Parameters:
apiKeyBingMap- key.
-
getImagerySet
public java.lang.String getImagerySet()
Gets the map set name for BingMaps. BingMaps provides "Aerial", "AerialWithLables", "Birdseye", "BirdseyeWithLables", "Road" several datasets, respectively, corresponding to different types of map services.
- Returns:
- BingMaps map set name.
-
setImagerySet
public void setImagerySet(java.lang.String imagerySet)
Sets the map set name for BingMaps. BingMaps provides "Aerial", "AerialWithLables", "Birdseye", "BirdseyeWithLables", "Road" several datasets, respectively, corresponding to different types of map services.
- Parameters:
imagerySetBingMaps- map set name.
-
getMapVersion
public java.lang.String getMapVersion()
BingMaps map version, such as "v0", "v1".
- Returns:
- version number.
-
setMapVersion
public void setMapVersion(java.lang.String mapVersion)
Sets BingMaps map version, such as "v0", "v1".
- Parameters:
mapVersion- version number.
-
setUseTileImage
public void setUseTileImage(boolean useTileImage)
-
isUseTileImage
public boolean isUseTileImage()
-
equals
public boolean equals(java.lang.Object obj)
To determine whether the two objects are equal.
- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the object to be compared.- Returns:
- whether or not equal,and true mean that the two objects are equal.
-
getCacheEnabled
public boolean getCacheEnabled()
Whether to use cache.- Returns:
-
setCacheEnabled
public void setCacheEnabled(boolean cacheEnabled)
Sets whether to use caching- Parameters:
cacheEnabled-
-
hashCode
public int hashCode()
Gets the hash value of the object instance- Overrides:
hashCodein classjava.lang.Object- Returns:
- hash value
-
getBingmapsRootUrl
public java.lang.String getBingmapsRootUrl()
-
setBingmapsRootUrl
public void setBingmapsRootUrl(java.lang.String bingmapsRootUrl)
-
-