public class GoogleMapsMapProviderSetting extends MapProviderSetting
Google Maps service provider configuration class.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
googleMapClientID
The account with Google Maps access.
|
java.lang.String |
googleMapCryptoKey
The private key of the account.
|
java.lang.String |
googleMapHeight
Each time you request a tile from Google Maps, the width of the tile (pixels).
|
java.lang.String |
googleMapLanguage
The language used for text annotation in the map.
|
java.lang.String |
googleMapWidth
Each time you request a tile from Google Maps, the width of the tile (pixels).
|
java.lang.String |
googleProxyAddress
Google Maps proxy address.
|
int |
googleProxyPort
Google Maps proxy port.
|
dataPrjCoordSysType, watermark
Constructor and Description |
---|
GoogleMapsMapProviderSetting() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether two objects are equal.
|
boolean |
getCacheEnabled()
Whether to use cache.
|
int |
hashCode()
Gets the hash value of the object instance
|
boolean |
isUseTileImage() |
void |
setCacheEnable(boolean cacheEnable)
Deprecated.
|
void |
setCacheEnabled(boolean cacheEnabled)
Sets whether to use caching
|
void |
setUseTileImage(boolean useTileImage) |
getCacheMode, getCacheVersion, getName, getOutputPath, getOutputSite, getWatermark, setCacheMode, setCacheVersion, setName, setOutputPath, setOutputSite, setWatermark
public java.lang.String googleMapLanguage
The language used for text annotation in the map.
public java.lang.String googleMapCryptoKey
The private key of the account.
public java.lang.String googleMapClientID
The account with Google Maps access.
public java.lang.String googleMapWidth
Each time you request a tile from Google Maps, the width of the tile (pixels). Since there may be a Geoogle watermark on each request for a single tile, the larger tile setting can reduce the watermark density throughout the window. However, single tile too large may affect the efficiency of tile access, because you should be based on hardware and software and network conditions, set a reasonable value.
public java.lang.String googleMapHeight
Each time you request a tile from Google Maps, the width of the tile (pixels). Generally set the same width, height tiles .
public java.lang.String googleProxyAddress
Google Maps proxy address. If the service can not be normal due to network reasons, you should set this parameter, such as: 127.0.0.1.
public int googleProxyPort
Google Maps proxy port.
@Deprecated public void setCacheEnable(boolean cacheEnable)
BingMapsMapProviderSetting.setCacheEnabled(boolean)
Sets whether to use caching.
cacheEnable
- whether to use cachingpublic void setUseTileImage(boolean useTileImage)
public boolean isUseTileImage()
public boolean equals(java.lang.Object obj)
Determines whether two objects are equal.
equals
in class java.lang.Object
obj
- the object to be compared.public boolean getCacheEnabled()
public void setCacheEnabled(boolean cacheEnabled)
cacheEnabled
-public int hashCode()
hashCode
in class java.lang.Object