Class BingMapInfo
- java.lang.Object
-
- org.meteoinfo.data.mapdata.webmap.TileFactoryInfo
-
- org.meteoinfo.data.mapdata.webmap.BingMapInfo
-
public class BingMapInfo extends TileFactoryInfo
-
-
Field Summary
-
Fields inherited from class org.meteoinfo.data.mapdata.webmap.TileFactoryInfo
baseURL, longitudeDegreeWidthInPixels, longitudeRadianWidthInPixels, mapCenterInPixelsAtZoom, mapWidthInTilesAtZoom, maximumZoomLevel, minimumZoomLevel, totalMapZoom
-
-
Constructor Summary
Constructors Constructor Description BingMapInfo()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetTileUrl(int x, int y, int zoom)Returns the tile url for the specified tile at the specified zoom level.voidsetLanguage(java.lang.String value)Set language-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.meteoinfo.data.mapdata.webmap.TileFactoryInfo
getDefaultZoomLevel, getLanguage, getLongitudeDegreeWidthInPixels, getLongitudeRadianWidthInPixels, getMapCenterInPixelsAtZoom, getMapWidthInTilesAtZoom, getMaximumZoomLevel, getMinimumZoomLevel, getName, getServerNum, getTileSize, getTotalMapZoom, isXr2l, isYt2b, setDefaultZoomLevel, setXr2l, setYt2b
-
-
-
-
Method Detail
-
setLanguage
public void setLanguage(java.lang.String value)
Description copied from class:TileFactoryInfoSet language- Overrides:
setLanguagein classTileFactoryInfo- Parameters:
value- The language
-
getTileUrl
public java.lang.String getTileUrl(int x, int y, int zoom)Description copied from class: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.- Overrides:
getTileUrlin classTileFactoryInfo- Parameters:
x- Xy- Yzoom- the zoom level- Returns:
- a valid url to load the tile
-
-