public class WMSService extends Object
Constructor and Description |
---|
WMSService()
Creates a new instance of WMSService
TODO: not working -> remove
|
WMSService(String baseUrl,
String layer) |
Modifier and Type | Method and Description |
---|---|
String |
getBaseUrl() |
String |
getLayer() |
void |
setBaseUrl(String baseUrl) |
void |
setLayer(String layer) |
String |
toWMSURL(int x,
int y,
int zoom,
int tileSize)
Convertes to a WMS URL
|
public WMSService()
public String toWMSURL(int x, int y, int zoom, int tileSize)
x
- the x coordinatey
- the y coordinatezoom
- the zomm factortileSize
- the tile sizepublic String getLayer()
public void setLayer(String layer)
layer
- the layerpublic String getBaseUrl()
public void setBaseUrl(String baseUrl)
baseUrl
- the base URLCopyright © 2013. All Rights Reserved.