Class OviSatelliteMapInfo
- java.lang.Object
-
- org.meteoinfo.data.mapdata.webmap.TileFactoryInfo
-
- org.meteoinfo.data.mapdata.webmap.OviSatelliteMapInfo
-
public class OviSatelliteMapInfo extends TileFactoryInfo
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String[]urlServerLetters-
Fields inherited from class org.meteoinfo.data.mapdata.webmap.TileFactoryInfo
baseURL, longitudeDegreeWidthInPixels, longitudeRadianWidthInPixels, mapCenterInPixelsAtZoom, mapWidthInTilesAtZoom, maximumZoomLevel, minimumZoomLevel, totalMapZoom
-
-
Constructor Summary
Constructors Constructor Description OviSatelliteMapInfo()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.-
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, setLanguage, setXr2l, setYt2b
-
-
-
-
Method Detail
-
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
-
-