public class WMService extends Object
| Constructor and Description |
|---|
WMService(String serverUrl)
Constructs a WMService object from a server URL.
|
| Modifier and Type | Method and Description |
|---|---|
MapRequest |
createMapRequest()
Creates a new MapRequest object which can be used to retrieve a Map
from this service.
|
Capabilities |
getCapabilities()
Gets the Capabilities for this service.
|
String |
getServerUrl()
Gets the url of the map service.
|
String |
getTitle()
Gets the title of the map service.
|
void |
initialize()
Connect to the service and get the capabilities.
|
public WMService(String serverUrl)
serverUrl - the URL of the WMS serverpublic void initialize()
throws IOException
IOExceptionpublic String getServerUrl()
public String getTitle()
public Capabilities getCapabilities()
public MapRequest createMapRequest()
Copyright © 2015. All rights reserved.