Constructor and Description |
---|
WebMapLayerService(WebMapLayer impl) |
Modifier and Type | Method and Description |
---|---|
static WebMapLayerService |
constructAggregate(java.lang.String name,
java.util.List<Service> layers)
Provided a list of layers, determine if an agregate layer can be constructed,
with the provided name being optional (can be null or empty).
|
void |
generateConfigFile(java.io.OutputStream sink)
Generates a configuration file that can be used with TAK's imagery,
feature or terrain infrastructures (as applicable) to import the content
into the TAK application.
|
java.lang.String |
getDescription()
Returns a description of the service (may be null).
|
java.lang.String |
getName()
Returns the name of the service.
|
ServiceType |
getType()
Returns the type of the service.
|
public WebMapLayerService(WebMapLayer impl)
public ServiceType getType()
Service
public java.lang.String getName()
Service
public java.lang.String getDescription()
Service
getDescription
in interface Service
public void generateConfigFile(java.io.OutputStream sink) throws java.io.IOException
Service
generateConfigFile
in interface Service
sink
- The stream where the config file content will be stored.java.io.IOException
- If an IO error occurs.public static WebMapLayerService constructAggregate(java.lang.String name, java.util.List<Service> layers)
name
- of the layerlayers
- to be aggregated