public class ZXYTilesMapProvider extends LocalTileProviderBase
Docking OSM and other Internet tile exchange package service provider.
Request:
1, tiles or tiles directory of the organizational structure: /{mapName/layerName}/{level}/{x}/{y}.png
2, the coordinates of the tile is Web Mercator
3, the origin of the tile is (-20037508.3427892, 20037508.3427892)
4, the tile size of the tile: 256*256
5, all tiles Geographic range:(-20037508.3427892,-20037508.3427892,20037508.3427892, 20037508.3427892)
TiledMapProviderBase.TileDataConverter, TiledMapProviderBase.TileImageDrawer, TiledMapProviderBase.TileImageParameterlocalTileResourceCACHE_DIR, LINK_MARK, lock, logger, message, QUESTION_MARK, REGEX, REPLACEMENT, tilePixHeight, tilePixWidth| Constructor and Description | 
|---|
| ZXYTilesMapProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | cacheEnabled() | 
| protected void | checkSetting(MapProviderSetting setting)Checks the configuration of map service provider. | 
| protected Point2D | getOrigin(java.lang.String mapName)Returns the origin of the specified map corresponding to the tile | 
| OutputFormat[] | getSupportImageFormat(java.lang.String mapName)Return the supported image formats. | 
| double[] | getSupportResolutions(java.lang.String mapName)Returns the resolution of the current service support. | 
| double[] | getSupportScales() | 
| protected byte[] | getTileImage(TiledMapProviderBase.TileImageParameter tileParam)Gets the tile matrix of the tile | 
| protected java.util.Map<java.lang.String,MapParameter> | initDefaultMapParameter()Initializing the default map status, a mapping object will be returned, of which the key is map name, valude is map parameter object. | 
| protected boolean | initLODInfos()Initializes tile meta information. | 
| protected java.util.List<java.lang.String> | initSupportedMapNames()Initializes the supported map list. | 
| boolean | support(java.lang.String mapName, MapCapability capability)Determines whether the map supports the specified function. | 
generateBigImageclearCache, dispose, fillWatermark, findNearest, getDefaultMapParameter, getDefaultMapParameters, getMapImage, getMapParameter, getMapProviderSetting, getNames, getOverview, getProximalResolution, getProximalResolution, getResolutoinByScale, getResource, getResource, getTileDataConverter, getVectorStyle, init, isResolutionEquals, measureArea, measureDistance, outputImage, outputImage, outputImageToFile, outputImageToFile, queryByBounds, queryByDistance, queryByGeometry, queryBySQL, rectifyMapParameter, setDefaultMapParameter, setDefaultMapParameters, setMapProviderSetting, setProviderContext, updateMap, viewEntireprotected byte[] getTileImage(TiledMapProviderBase.TileImageParameter tileParam)
Gets the tile matrix of the tile
getTileImage in class LocalTileProviderBasetileParam -protected java.util.List<java.lang.String> initSupportedMapNames()
TiledMapProviderBaseinitSupportedMapNames in class TiledMapProviderBaseprotected boolean initLODInfos()
protected java.util.Map<java.lang.String,MapParameter> initDefaultMapParameter()
TiledMapProviderBaseInitializing the default map status, a mapping object will be returned, of which the key is map name, valude is map parameter object.
initDefaultMapParameter in class TiledMapProviderBasepublic double[] getSupportScales()
public double[] getSupportResolutions(java.lang.String mapName)
TiledMapProviderBaseReturns the resolution of the current service support. If all resolutions are supported, empty is returned.
getSupportResolutions in class TiledMapProviderBasemapName - The map name.public OutputFormat[] getSupportImageFormat(java.lang.String mapName)
TiledMapProviderBaseReturn the supported image formats.
getSupportImageFormat in class TiledMapProviderBasemapName - The map name.protected Point2D getOrigin(java.lang.String mapName)
Returns the origin of the specified map corresponding to the tile
getOrigin in class TiledMapProviderBasemapName -protected boolean cacheEnabled()
cacheEnabled in class TiledMapProviderBase
public boolean support(java.lang.String mapName,
              MapCapability capability)
MapProvidersupport in interface MapProvidersupport in class TiledMapProviderBasemapName - The map name.capability - Function type.protected void checkSetting(MapProviderSetting setting)
TiledMapProviderBasecheckSetting in class TiledMapProviderBase