Groovy Documentation

org.jdesktop.swingx.mapviewer.bmng
[Java] Class SLMapServerInfo

java.lang.Object
  org.jdesktop.swingx.mapviewer.TileFactoryInfo
      org.jdesktop.swingx.mapviewer.bmng.SLMapServerInfo

public class SLMapServerInfo
extends TileFactoryInfo

A TileFactoryInfo subclass which knows how to connect to the SwingLabs map server. This server contains 2k resolution Blue Marble data from NASA.


Field Summary
private static int midpoint

private static int normal_tile_size

private static int pyramid_top

 
Fields inherited from class TileFactoryInfo
baseURL, defaultZoomLevel, longitudeDegreeWidthInPixels, longitudeRadianWidthInPixels, mapCenterInPixelsAtZoom, mapWidthInTilesAtZoom, maximumZoomLevel, minimumZoomLevel, name, tileSize, totalMapZoom, xparam, xr2l, yparam, yt2b, zparam
 
Constructor Summary
SLMapServerInfo()

SLMapServerInfo(String baseURL)

 
Method Summary
int getMapWidthInTilesAtZoom(int zoom)

int getMidpoint()

int getTileSize(int zoom)

String getTileUrl(int x, int y, int zoom)

 
Methods inherited from class TileFactoryInfo
getDefaultZoomLevel, getLongitudeDegreeWidthInPixels, getLongitudeRadianWidthInPixels, getMapCenterInPixelsAtZoom, getMapWidthInTilesAtZoom, getMaximumZoomLevel, getMinimumZoomLevel, getName, getTileSize, getTileUrl, getTotalMapZoom, isXr2l, isYt2b, setDefaultZoomLevel, setXr2l, setYt2b
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

midpoint

private static final int midpoint


normal_tile_size

private static final int normal_tile_size


pyramid_top

private static final int pyramid_top


 
Constructor Detail

SLMapServerInfo

public SLMapServerInfo()


SLMapServerInfo

public SLMapServerInfo(String baseURL)


 
Method Detail

getMapWidthInTilesAtZoom

public int getMapWidthInTilesAtZoom(int zoom)


getMidpoint

public int getMidpoint()


getTileSize

public int getTileSize(int zoom)


getTileUrl

public String getTileUrl(int x, int y, int zoom)


 

Groovy Documentation