public class BaiduMapProviderSetting extends MapProviderSetting
Baidu map service provides configuration object, the object used for Baidu map service providers need the relevant parameters of information
dataPrjCoordSysType, watermark
Constructor and Description |
---|
BaiduMapProviderSetting() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
getCacheEnabled()
Sets whether to use caching.
|
java.lang.String |
getMapName()
Gets map name
|
java.lang.String |
getMapUrl()
Gets map service URL
|
BaiduMapQuerySetting |
getQuerySetting()
Gets Baidu map query parameters.
|
int |
hashCode() |
void |
setCacheEnabled(boolean cacheEnabled)
Sets whether to use caching.
|
void |
setMapName(java.lang.String mapName)
Sets map name
|
void |
setMapUrl(java.lang.String mapUrl)
Gets map service URL
|
void |
setQuerySetting(BaiduMapQuerySetting querySetting)
Sets Baidu map query parameters.
|
getCacheMode, getCacheVersion, getName, getOutputPath, getOutputSite, getWatermark, setCacheMode, setCacheVersion, setName, setOutputPath, setOutputSite, setWatermark
public void setCacheEnabled(boolean cacheEnabled)
Sets whether to use caching.
cacheEnable
- whether to use cachingpublic java.lang.String getMapName()
Gets map name
Gets a custom map name. When configuring mapUrl is not configured with this parameter, the default is "OSM".
public void setMapName(java.lang.String mapName)
Sets map name
Sets a custom map name. When configuring mapUrl is not configured with this parameter, the default is "OSM".
mapName
-public java.lang.String getMapUrl()
Gets map service URL
The map service address should be an address template that takes the map slice, where {x}, {y}, {z} represent the column number, line number, and level of the slice, respectively. Such as: http://online0.map.bdimg.com/tile/?qt=tile&x={x}&y={y}&z={z}&styles=pl
public void setMapUrl(java.lang.String mapUrl)
Gets map service URL
The map service address should be an address template that takes the map slice, where {x}, {y}, {z} represent the column number, line number, and level of the slice, respectively. Such as: http://online0.map.bdimg.com/tile/?qt=tile&x={x}&y={y}&z={z}&styles=pl
serviceUrl
-public boolean getCacheEnabled()
Sets whether to use caching.
public BaiduMapQuerySetting getQuerySetting()
Gets Baidu map query parameters.
public void setQuerySetting(BaiduMapQuerySetting querySetting)
Sets Baidu map query parameters.
question
-public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object