public class SMTilesMapProvider extends MBTilesTileProviderBase
SMTiles(基于 MBTiles 规范扩展的缓存文件格式)地图服务提供者。
SMTilesMapProvider 提供了从本地SMTiles文件中获取地图服务的能力,并封装了与 SuperMap iServer 地图相关的 GIS 功能。
TiledMapProviderBase.AcceptOnePicDrawer, TiledMapProviderBase.DefaultTileImageDrawer, TiledMapProviderBase.TileDataConverter, TiledMapProviderBase.TileImageDrawer, TiledMapProviderBase.TileImageParameter
bounds, conn, epsgCode, isPBF, isStandard, loadedMetadata, mapNames, mbTilesDir, message, positiveDirection, resolutions, scales, tileOrigin, tileSource
localTileResource
CACHE_DIR, defaultMapParameters, dpi, LINK_MARK, lock, logger, QUESTION_MARK, REGEX, REPLACEMENT, tilePixHeight, tilePixWidth
构造器和说明 |
---|
SMTilesMapProvider()
默认构造函数
|
SMTilesMapProvider(SMTilesMapProviderSetting setting)
带参构造函数
|
限定符和类型 | 方法和说明 |
---|---|
protected byte[] |
getTileImage(TiledMapProviderBase.TileImageParameter tileImageParameter)
获取请求的切片的BufferedImage
|
protected void |
loadMetaData()
加载元数据信息。
|
boolean |
support(java.lang.String mapName, MapCapability capability)
判断地图是否支持相应功能。
|
cacheEnabled, dispose, getBounds, getConn, getMetadata, getOrigin, getSupportImageFormat, getSupportResolutions, getSupportScales, initDefaultMapParameter, initSupportedMapNames, isResolutionEquals, refresh
checkLicense, generateBigImage, tileCacheReadOnly
checkSetting, clearAllCache, clearCache, fillWatermark, findNearest, getAccurateResolution, getBottom, getBottom, getBufferedImage, getDefaultMapParameter, getDefaultMapParameters, getLeft, getLeftIndex, getMapImage, getMapParameter, getMapProviderSetting, getNames, getOverview, getProximalResolution, getProximalResolution, getResolutoinByScale, getResource, getResource, getRight, getTileDataConverter, getTileIndex, getTop, getTop, getTopIndex, getTopOrBottomTileIndex, getVectorStyle, getVectorStyle, init, measureArea, measureDistance, outputImage, 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
public SMTilesMapProvider(SMTilesMapProviderSetting setting)
带参构造函数
setting
- 地图服务提供者配置public SMTilesMapProvider()
默认构造函数
protected void loadMetaData()
MBTilesTileProviderBase
加载元数据信息。
loadMetaData
在类中 MBTilesTileProviderBase
protected byte[] getTileImage(TiledMapProviderBase.TileImageParameter tileImageParameter)
获取请求的切片的BufferedImage
getTileImage
在类中 LocalTileProviderBase
tileImageParameter
- 切片参数public boolean support(java.lang.String mapName, MapCapability capability)
MapProvider
support
在接口中 MapProvider
support
在类中 TiledMapProviderBase
mapName
- 地图名。capability
- 功能类型。