类 TencentMapInfo
- java.lang.Object
-
- org.meteoinfo.data.mapdata.webmap.TileFactoryInfo
-
- org.meteoinfo.data.mapdata.webmap.TencentMapInfo
-
public class TencentMapInfo extends TileFactoryInfo
- 作者:
- yaqiang
-
-
字段概要
-
从类继承的字段 org.meteoinfo.data.mapdata.webmap.TileFactoryInfo
baseURL, longitudeDegreeWidthInPixels, longitudeRadianWidthInPixels, mapCenterInPixelsAtZoom, mapWidthInTilesAtZoom, maximumZoomLevel, minimumZoomLevel, totalMapZoom
-
-
构造器概要
构造器 构造器 说明 TencentMapInfo()Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.StringgetTileUrl(int x, int y, int zoom)Returns the tile url for the specified tile at the specified zoom level.-
从类继承的方法 org.meteoinfo.data.mapdata.webmap.TileFactoryInfo
getDefaultZoomLevel, getLanguage, getLongitudeDegreeWidthInPixels, getLongitudeRadianWidthInPixels, getMapCenterInPixelsAtZoom, getMapWidthInTilesAtZoom, getMaximumZoomLevel, getMinimumZoomLevel, getName, getServerNum, getTileSize, getTotalMapZoom, isXr2l, isYt2b, setDefaultZoomLevel, setLanguage, setXr2l, setYt2b
-
-
-
-
方法详细资料
-
getTileUrl
public java.lang.String getTileUrl(int x, int y, int zoom)从类复制的说明:TileFactoryInfoReturns the tile url for the specified tile at the specified zoom level. By default it will generate a tile url using the base url and parameters specified in the constructor. Thus if
then the resulting url would be:baseURl = http://www.myserver.com/maps?version=0.1 xparam = x yparam = y zparam = z tilepoint = [1,2] zoom level = 3
Note that the URL can be ahttp://www.myserver.com/maps?version=0.1&x=1&y=2&z=3file:url.- 覆盖:
getTileUrl在类中TileFactoryInfo- 参数:
x- Xy- Yzoom- the zoom level- 返回:
- a valid url to load the tile
-
-