public class OSMServer
extends java.lang.Object
Constructor and Description |
---|
OSMServer(java.lang.String server,
int levels,
java.lang.String name,
java.lang.String suffix)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getLevels()
Gets the number of resolution levels
|
java.lang.String |
getName()
Gets the layer's name
|
java.lang.String |
getServerURL()
Gets the server URL
|
java.lang.String |
getSuffix()
Gets the suffix of the image file.
|
java.lang.String |
toString() |
public OSMServer(java.lang.String server, int levels, java.lang.String name, java.lang.String suffix)
server
- The server URLlevels
- The number of resolution levelsname
- Layer's namesuffix
- The suffix of the image file.public java.lang.String getServerURL()
public int getLevels()
public java.lang.String getName()
public java.lang.String getSuffix()
public java.lang.String toString()
toString
in class java.lang.Object