com.supermap.services.providers
类 SMTilesMapProvider
- java.lang.Object
-
- com.supermap.services.components.spi.TiledMapProviderBase
-
- com.supermap.services.providers.LocalTileProviderBase
-
- com.supermap.services.providers.MBTilesTileProviderBase
-
- com.supermap.services.providers.SMTilesMapProvider
-
public class SMTilesMapProvider extends MBTilesTileProviderBase
SMTiles(基于 MBTiles 规范扩展的缓存文件格式)地图服务提供者。
SMTilesMapProvider 提供了从本地SMTiles文件中获取地图服务的能力,并封装了与 SuperMap iServer 地图相关的 GIS 功能。
- 另请参阅:
- MapBox MBTiles介绍
-
-
嵌套类概要
-
从类继承的嵌套类/接口 com.supermap.services.components.spi.TiledMapProviderBase
TiledMapProviderBase.AcceptOnePicDrawer, TiledMapProviderBase.DefaultTileImageDrawer, TiledMapProviderBase.TileDataConverter, TiledMapProviderBase.TileImageDrawer, TiledMapProviderBase.TileImageParameter
-
-
字段概要
-
从类继承的字段 com.supermap.services.providers.MBTilesTileProviderBase
bounds, conn, epsgCode, isPBF, isStandard, loadedMetadata, mapNames, mbTilesDir, message, positiveDirection, resolutions, scales, tileOrigin, tileSource
-
从类继承的字段 com.supermap.services.providers.LocalTileProviderBase
localTileResource
-
从类继承的字段 com.supermap.services.components.spi.TiledMapProviderBase
CACHE_DIR, defaultMapParameters, dpi, LINK_MARK, lock, logger, QUESTION_MARK, REGEX, REPLACEMENT, tilePixHeight, tilePixWidth
-
-
构造器概要
构造器 构造器和说明 SMTilesMapProvider()
默认构造函数SMTilesMapProvider(SMTilesMapProviderSetting setting)
带参构造函数
-
方法概要
方法 限定符和类型 方法和说明 protected byte[]
getTileImage(TiledMapProviderBase.TileImageParameter tileImageParameter)
获取请求的切片的BufferedImageprotected void
loadMetaData()
加载元数据信息。boolean
support(java.lang.String mapName, MapCapability capability)
判断地图是否支持相应功能。-
从类继承的方法 com.supermap.services.providers.MBTilesTileProviderBase
cacheEnabled, dispose, getBounds, getConn, getMetadata, getOrigin, getSupportImageFormat, getSupportResolutions, getSupportScales, initDefaultMapParameter, initSupportedMapNames, isResolutionEquals, refresh
-
从类继承的方法 com.supermap.services.providers.LocalTileProviderBase
checkLicense, generateBigImage, tileCacheReadOnly
-
从类继承的方法 com.supermap.services.components.spi.TiledMapProviderBase
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
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 com.supermap.services.components.spi.MapProvider
getFieldsByLayerName, getTileImage
-
-
-
-
构造器详细资料
-
SMTilesMapProvider
public SMTilesMapProvider(SMTilesMapProviderSetting setting)
带参构造函数
- 参数:
setting
- 地图服务提供者配置
-
SMTilesMapProvider
public SMTilesMapProvider()
默认构造函数
-
-
方法详细资料
-
loadMetaData
protected void loadMetaData()
从类复制的说明:MBTilesTileProviderBase
加载元数据信息。
- 指定者:
loadMetaData
在类中MBTilesTileProviderBase
-
getTileImage
protected byte[] getTileImage(TiledMapProviderBase.TileImageParameter tileImageParameter)
获取请求的切片的BufferedImage
- 指定者:
getTileImage
在类中LocalTileProviderBase
- 参数:
tileImageParameter
- 切片参数- 返回:
- 请求的切片的BufferedImage
-
support
public boolean support(java.lang.String mapName, MapCapability capability)
从接口复制的说明:MapProvider
判断地图是否支持相应功能。- 指定者:
support
在接口中MapProvider
- 覆盖:
support
在类中TiledMapProviderBase
- 参数:
mapName
- 地图名。capability
- 功能类型。- 返回:
- 返回true表示支持该功能;返回false表示不支持该功能。
-
-