public class MapConfig
extends java.lang.Object
implements java.io.Serializable
Map service component configuration information.
Constructor and Description |
---|
MapConfig()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the map component configuration object is the same as the current object.
|
CacheConfig[] |
getCacheConfigs() |
long |
getExpired()
Gets expiration time
|
java.lang.String |
getLogLevel()
Deprecated.
|
java.lang.String |
getOutputPath()
Gets the output path of the map image.
|
java.lang.String |
getOutputSite()
Gets the publishing site for the map image.
|
TileSourceInfo |
getTileCacheConfig()
Gets the raster tile cache configuration
|
TileSourceInfo |
getUtfGridCacheConfig()
Gets the UTFGrid cache configuration
|
TileSourceInfo |
getVectorTileCacheConfig()
Gets the SVTiles cache configuration
|
int |
hashCode()
Gets the hash value of the object instance
|
boolean |
isCacheReadOnly() |
boolean |
isClip()
Deprecated.
|
boolean |
isUseCache()
Whether to use component-level independent cache.
|
boolean |
isUseUTFGridCache() |
boolean |
isUseVectorTileCache() |
MapConfig |
setCacheConfigs(CacheConfig[] cacheConfigs) |
MapConfig |
setCacheReadOnly(boolean cacheReadOnly) |
MapConfig |
setClip(boolean clip)
Deprecated.
|
void |
setExpired(long expired)
Sets expiration time
|
MapConfig |
setLogLevel(java.lang.String logLevel)
Deprecated.
|
MapConfig |
setOutputPath(java.lang.String outputPath)
Sets the output path of the map image.
|
MapConfig |
setOutputSite(java.lang.String outputSite)
Sets the publishing site for the map image.
|
MapConfig |
setTileCacheConfig(TileSourceInfo tileCacheConfig)
Sets the raster tile cache configuration
|
MapConfig |
setUseCache(boolean useCache)
Whether to use component-level cache.
|
void |
setUseUTFGridCache(boolean useUTFGridCache) |
void |
setUseVectorTileCache(boolean useVectorTileCache) |
MapConfig |
setUtfGridCacheConfig(TileSourceInfo utfGridCacheConfig)
Sets the UTFGrid cache configuration
|
MapConfig |
setVectorTileCacheConfig(TileSourceInfo vectorTileCacheConfig)
Sets the SVTiles cache configuration
|
public java.lang.String getOutputPath()
Gets the output path of the map image.
public long getExpired()
Gets expiration time
public void setExpired(long expired)
Sets expiration time
expired
-public java.lang.String getOutputSite()
Gets the publishing site for the map image.
public MapConfig setOutputPath(java.lang.String outputPath)
Sets the output path of the map image.
outputPath
- Sets the output path of the map image.public MapConfig setOutputSite(java.lang.String outputSite)
Sets the publishing site for the map image.
outputSite
- the publishing site of the map image.@Deprecated public java.lang.String getLogLevel()
Gets the log level.
@Deprecated public MapConfig setLogLevel(java.lang.String logLevel)
Sets the log level.
logLevel
- the log level.public boolean isUseCache()
Whether to use component-level independent cache. Each component can configure if the independent cache can be opened, for example:service Component that takes tile cache as the source of service can close the independent cache. Open or close the independent cache by configuring the useCache property of Component Config.
public MapConfig setUseCache(boolean useCache)
Whether to use component-level cache.
useCache
- Whether to use component-level cache.public TileSourceInfo getTileCacheConfig()
Gets the raster tile cache configuration
public MapConfig setTileCacheConfig(TileSourceInfo tileCacheConfig)
Sets the raster tile cache configuration
tileCacheConfig
-public TileSourceInfo getUtfGridCacheConfig()
Gets the UTFGrid cache configuration
public MapConfig setUtfGridCacheConfig(TileSourceInfo utfGridCacheConfig)
Sets the UTFGrid cache configuration
utfGridCacheConfig
-public TileSourceInfo getVectorTileCacheConfig()
Gets the SVTiles cache configuration
public MapConfig setVectorTileCacheConfig(TileSourceInfo vectorTileCacheConfig)
Sets the SVTiles cache configuration
vectorTileCacheConfig
-public CacheConfig[] getCacheConfigs()
public MapConfig setCacheConfigs(CacheConfig[] cacheConfigs)
@Deprecated public boolean isClip()
Whether to use splicing to cut out the graph.
@Deprecated public MapConfig setClip(boolean clip)
Sets whether to use splicing to cut out the graph.
clip
- Whether to use splicing to cut out the graph.public boolean equals(java.lang.Object obj)
Determines whether the map component configuration object is the same as the current object.
equals
in class java.lang.Object
obj
-public final int hashCode()
hashCode
in class java.lang.Object
public boolean isCacheReadOnly()
public MapConfig setCacheReadOnly(boolean cacheReadOnly)
public boolean isUseVectorTileCache()
public void setUseVectorTileCache(boolean useVectorTileCache)
public boolean isUseUTFGridCache()
public void setUseUTFGridCache(boolean useUTFGridCache)