Groovy Documentation

org.jdesktop.swingx.mapviewer.wms
[Java] Class WMSService

java.lang.Object
  org.jdesktop.swingx.mapviewer.wms.WMSService

public class WMSService
extends Object

A class that represents a WMS mapping service. See http://en.wikipedia.org/wiki/Web_Map_Service for more information.

Authors:
joshy


Field Summary
private String baseUrl

private String layer

 
Constructor Summary
WMSService()

Creates a new instance of WMSService

WMSService(String baseUrl, String layer)

 
Method Summary
String getBaseUrl()

String getLayer()

void setBaseUrl(String baseUrl)

void setLayer(String layer)

String toWMSURL(int x, int y, int zoom, int tileSize)

private int widthOfWorldInPixels(int zoom, int TILE_SIZE)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

baseUrl

private String baseUrl


layer

private String layer


 
Constructor Detail

WMSService

public WMSService()
Creates a new instance of WMSService


WMSService

public WMSService(String baseUrl, String layer)


 
Method Detail

getBaseUrl

public String getBaseUrl()


getLayer

public String getLayer()


setBaseUrl

public void setBaseUrl(String baseUrl)


setLayer

public void setLayer(String layer)


toWMSURL

public String toWMSURL(int x, int y, int zoom, int tileSize)


widthOfWorldInPixels

private int widthOfWorldInPixels(int zoom, int TILE_SIZE)


 

Groovy Documentation