public class TPKMapProvider extends ArcGISCacheProviderBase
TPK map service provider.
The TPKMapProvider provides the capabilities of obtaining a map service from the TPK file and encapsulates SuperMap iServer map related GIS functions.
TiledMapProviderBase.TileDataConverter, TiledMapProviderBase.TileImageDrawer, TiledMapProviderBase.TileImageParameter
mapName, rootPath
localTileResource
CACHE_DIR, LINK_MARK, lock, logger, message, QUESTION_MARK, REGEX, REPLACEMENT, tilePixHeight, tilePixWidth
Constructor and Description |
---|
TPKMapProvider()
The default constructor.
|
TPKMapProvider(TPKMapProviderSetting setting)
Constructor with parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Release the resource object.
|
protected java.lang.String[] |
getDefaultCachePath() |
java.lang.String |
getMapName() |
java.nio.file.Path |
getRootPath() |
cacheEnabled, getOrigin, getSupportImageFormat, getSupportResolutions, getTileImage, initDefaultMapParameter, initSupportedMapNames, isResolutionEquals
generateBigImage
checkSetting, clearCache, fillWatermark, findNearest, getDefaultMapParameter, getDefaultMapParameters, getMapImage, getMapParameter, getMapProviderSetting, getNames, getOverview, getProximalResolution, getProximalResolution, getResolutoinByScale, getResource, getResource, getTileDataConverter, getVectorStyle, init, measureArea, measureDistance, outputImage, outputImage, outputImageToFile, outputImageToFile, queryByBounds, queryByDistance, queryByGeometry, queryBySQL, rectifyMapParameter, setDefaultMapParameter, setDefaultMapParameters, setMapProviderSetting, setProviderContext, support, updateMap, viewEntire
public TPKMapProvider(TPKMapProviderSetting setting)
Constructor with parameters.
setting
- The configuration of map service provider.public TPKMapProvider()
The default constructor.
public java.nio.file.Path getRootPath()
getRootPath
in class ArcGISCacheProviderBase
public void dispose()
TiledMapProviderBase
Release the resource object.
dispose
in interface Disposable
dispose
in class ArcGISCacheProviderBase
public java.lang.String getMapName()
getMapName
in class ArcGISCacheProviderBase
protected java.lang.String[] getDefaultCachePath()
getDefaultCachePath
in class ArcGISCacheProviderBase