Class BaiduMapProviderSetting
- java.lang.Object
-
- com.supermap.services.components.spi.MapProviderSetting
-
- com.supermap.services.providers.BaiduMapProviderSetting
-
- All Implemented Interfaces:
- java.io.Serializable
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
- Since:
- 7.1.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.supermap.services.components.spi.MapProviderSetting
dataPrjCoordSysType, watermark
-
-
Constructor Summary
Constructors Constructor and Description BaiduMapProviderSetting()
-
Method Summary
Methods Modifier and Type Method and Description booleanequals(java.lang.Object obj)booleangetCacheEnabled()Sets whether to use caching.java.lang.StringgetMapName()Gets map namejava.lang.StringgetMapUrl()Gets map service URLBaiduMapQuerySettinggetQuerySetting()Gets Baidu map query parameters.inthashCode()voidsetCacheEnabled(boolean cacheEnabled)Sets whether to use caching.voidsetMapName(java.lang.String mapName)Sets map namevoidsetMapUrl(java.lang.String mapUrl)Gets map service URLvoidsetQuerySetting(BaiduMapQuerySetting querySetting)Sets Baidu map query parameters.-
Methods inherited from class com.supermap.services.components.spi.MapProviderSetting
getCacheMode, getCacheVersion, getName, getOutputPath, getOutputSite, getWatermark, setCacheMode, setCacheVersion, setName, setOutputPath, setOutputSite, setWatermark
-
-
-
-
Method Detail
-
setCacheEnabled
public void setCacheEnabled(boolean cacheEnabled)
Sets whether to use caching.
- Parameters:
cacheEnable- whether to use caching
-
getMapName
public 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".
- Returns:
-
setMapName
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".
- Parameters:
mapName-
-
getMapUrl
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
- Returns:
-
setMapUrl
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
- Parameters:
serviceUrl-
-
getCacheEnabled
public boolean getCacheEnabled()
Sets whether to use caching.
- Returns:
- Whether to use caching
-
getQuerySetting
public BaiduMapQuerySetting getQuerySetting()
Gets Baidu map query parameters.
- Returns:
-
setQuerySetting
public void setQuerySetting(BaiduMapQuerySetting querySetting)
Sets Baidu map query parameters.
- Parameters:
question-
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-