public class MongoDBTileProvider extends TilesetMapProvider
MongoDB地图服务提供者。
MongoDBTileProvider 提供了从MongoDB切片集中获取地图服务的能力并封装了与 SuperMap iServer 地图相关的 GIS 功能。
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
构造器和说明 |
---|
MongoDBTileProvider() |
MongoDBTileProvider(MongoDBTileProviderSetting setting) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
addListener(MongoDBTileProviderSetting setting) |
void |
dispose()
释放资源对象。
|
protected java.util.List<ImageTileset> |
getTilesetsFromSource(TileSource<MongoDBTilesourceInfo> tileSource, java.lang.String tilesetName, java.lang.String mapName) |
protected void |
init(MapProviderSetting setting)
初始化函数,该函数不对参数进行null判断,但是尽可能对其中的内容进行正确性判断
|
protected java.util.List<ImageTileset> |
initTilesets()
初使化切片集。
|
protected boolean |
isMatchingType(Tileset<?,?> tileset) |
cacheEnabled, getOrigin, getSupportImageFormat, getSupportResolutions, getTileImage, getTilesetInfos, initDefaultMapParameter, initSupportedMapNames, isResolutionEquals, outputImage, refresh, setMapInfoByTilesets, support
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, 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
public MongoDBTileProvider()
public MongoDBTileProvider(MongoDBTileProviderSetting setting)
protected void init(MapProviderSetting setting)
TiledMapProviderBase
初始化函数,该函数不对参数进行null判断,但是尽可能对其中的内容进行正确性判断
init
在类中 TilesetMapProvider
setting
- 服务提供者配置对象protected java.util.List<ImageTileset> initTilesets()
TilesetMapProvider
initTilesets
在类中 TilesetMapProvider
protected void addListener(MongoDBTileProviderSetting setting)
protected java.util.List<ImageTileset> getTilesetsFromSource(TileSource<MongoDBTilesourceInfo> tileSource, java.lang.String tilesetName, java.lang.String mapName)
protected boolean isMatchingType(Tileset<?,?> tileset)
public void dispose()
TiledMapProviderBase
释放资源对象。
dispose
在接口中 Disposable
dispose
在类中 TiledMapProviderBase