public class MultiTilesProvider extends LocalTileProviderBase
TiledMapProviderBase.AcceptOnePicDrawer, TiledMapProviderBase.DefaultTileImageDrawer, TiledMapProviderBase.TileDataConverter, TiledMapProviderBase.TileImageDrawer, TiledMapProviderBase.TileImageParameter
localTileResource
CACHE_DIR, defaultMapParameters, dpi, LINK_MARK, lock, logger, message, QUESTION_MARK, REGEX, REPLACEMENT, tilePixHeight, tilePixWidth
构造器和说明 |
---|
MultiTilesProvider() |
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
cacheEnabled() |
void |
dispose()
释放资源对象。
|
protected java.util.concurrent.atomic.AtomicBoolean |
generateBigImage(TiledMapProviderBase.TileImageDrawer drawer, TiledMapProviderBase.TileImageParameter[] tileImageParameters, ImageTileset tileset) |
protected Point2D |
getBestOrigin(MapParameter param, double currentResolution) |
java.util.List<java.lang.String> |
getNames()
初始化默认地图状态,返回值为一个映射,键为地图名,值为地图参数对象。
|
protected Point2D |
getOrigin(java.lang.String mapName)
获取地图的左上角地理坐标。
|
OutputFormat[] |
getSupportImageFormat(java.lang.String mapName)
返回支持的图片格式。
|
double[] |
getSupportResolutions(java.lang.String mapName)
返回当前服务支持的分辨率 。 |
protected byte[] |
getTileImage(TiledMapProviderBase.TileImageParameter tileParam) |
protected byte[] |
getTileImage(TiledMapProviderBase.TileImageParameter tileParam, ImageTileset tileset) |
protected java.util.Map<java.lang.String,MapParameter> |
initDefaultMapParameter()
初始化默认地图状态,返回值为一个映射,键为地图名,值为地图参数对象。
|
protected java.util.List<java.lang.String> |
initSupportedMapNames()
初始化支持的地图列表。
|
protected boolean |
isMatchingType(Tileset<?,?> tileset) |
protected byte[] |
outputImage(MapParameter param, ImageOutputOption outputOption, double currentResolution)
实时地出图 。
|
boolean |
support(java.lang.String mapName, MapCapability capability)
判断地图是否支持相应功能。
|
checkLicense, generateBigImage, tileCacheReadOnly
checkSetting, clearAllCache, clearCache, fillWatermark, findNearest, getAccurateResolution, getBottom, getBottom, getBufferedImage, getDefaultMapParameter, getDefaultMapParameters, getLeft, getLeftIndex, getMapImage, getMapParameter, getMapProviderSetting, getOverview, getProximalResolution, getProximalResolution, getResolutoinByScale, getResource, getResource, getRight, getTileDataConverter, getTileIndex, getTop, getTop, getTopIndex, getTopOrBottomTileIndex, getVectorStyle, getVectorStyle, init, isResolutionEquals, measureArea, measureDistance, outputImage, outputImageToFile, outputImageToFile, point2DConvert, queryByBounds, queryByDistance, queryByGeometry, queryBySQL, rectifyMapParameter, setDefaultMapParameter, setDefaultMapParameters, setMapProviderSetting, setProviderContext, updateMap, viewEntire
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFieldsByLayerName, getTileImage
protected java.util.List<java.lang.String> initSupportedMapNames()
TiledMapProviderBase
initSupportedMapNames
在类中 TiledMapProviderBase
protected java.util.Map<java.lang.String,MapParameter> initDefaultMapParameter()
TiledMapProviderBase
初始化默认地图状态,返回值为一个映射,键为地图名,值为地图参数对象。
initDefaultMapParameter
在类中 TiledMapProviderBase
protected byte[] outputImage(MapParameter param, ImageOutputOption outputOption, double currentResolution)
TiledMapProviderBase
实时地出图 。根据地图参数,出图到指定路径。
outputImage
在类中 TiledMapProviderBase
param
- 地图状态outputOption
- 图片参数currentResolution
- 分辨率protected byte[] getTileImage(TiledMapProviderBase.TileImageParameter tileParam)
getTileImage
在类中 LocalTileProviderBase
protected java.util.concurrent.atomic.AtomicBoolean generateBigImage(TiledMapProviderBase.TileImageDrawer drawer, TiledMapProviderBase.TileImageParameter[] tileImageParameters, ImageTileset tileset)
protected byte[] getTileImage(TiledMapProviderBase.TileImageParameter tileParam, ImageTileset tileset)
public double[] getSupportResolutions(java.lang.String mapName)
TiledMapProviderBase
返回当前服务支持的分辨率 。如果支持所有分辨率,则返回空。
getSupportResolutions
在类中 TiledMapProviderBase
mapName
- 地图名public OutputFormat[] getSupportImageFormat(java.lang.String mapName)
TiledMapProviderBase
返回支持的图片格式。
getSupportImageFormat
在类中 TiledMapProviderBase
mapName
- 地图名protected Point2D getOrigin(java.lang.String mapName)
TiledMapProviderBase
获取地图的左上角地理坐标。
getOrigin
在类中 TiledMapProviderBase
mapName
- 地图名protected boolean cacheEnabled()
cacheEnabled
在类中 TiledMapProviderBase
public boolean support(java.lang.String mapName, MapCapability capability)
MapProvider
support
在接口中 MapProvider
support
在类中 TiledMapProviderBase
mapName
- 地图名。capability
- 功能类型。protected boolean isMatchingType(Tileset<?,?> tileset)
public void dispose()
TiledMapProviderBase
释放资源对象。
dispose
在接口中 Disposable
dispose
在类中 TiledMapProviderBase
protected Point2D getBestOrigin(MapParameter param, double currentResolution)
public java.util.List<java.lang.String> getNames()
TiledMapProviderBase
初始化默认地图状态,返回值为一个映射,键为地图名,值为地图参数对象。
getNames
在接口中 MapProvider
getNames
在类中 TiledMapProviderBase