@Api(allMethods=true)
public interface ConfigurationService
| Modifier and Type | Method and Description |
|---|---|
CoordinateReferenceSystem |
getCrs(String crs)
Deprecated.
|
Layer<?> |
getLayer(String id)
Get the vector layer with given id.
|
<TYPE extends LayerExtraInfo> |
getLayerExtraInfo(LayerInfo layerInfo,
Class<TYPE> type)
Get a specific entry from the extraInfo for the given type on
LayerInfo. |
<TYPE extends LayerExtraInfo> |
getLayerExtraInfo(LayerInfo layerInfo,
String key,
Class<TYPE> type)
Get a specific entry from the extraInfo for key and with type checking.
|
ClientMapInfo |
getMap(String mapId,
String applicationId)
Get information about the map with specified mapId in the application with the specified applicationId.
|
RasterLayer |
getRasterLayer(String id)
Get the raster layer with given id.
|
VectorLayer |
getVectorLayer(String id)
Get the vector layer with given id.
|
void |
invalidateAllLayers()
Invalidate all layers.
|
void |
invalidateLayer(String layerId)
Invalidate a layer.
|
VectorLayer getVectorLayer(String id)
id - layer idRasterLayer getRasterLayer(String id)
id - layer idLayer<?> getLayer(String id)
id - vector layer idvoid invalidateLayer(String layerId) throws GeomajasException
layerId - id of layer which needs to be invalidatedGeomajasException - oops (should not happen, steps should just log and not (re)throw exceptions)void invalidateAllLayers()
throws GeomajasException
GeomajasException - oops (should not happen, steps should just log and not (re)throw exceptions)ClientMapInfo getMap(String mapId, String applicationId)
mapId - map IdapplicationId - application idClientMapInfo@Deprecated CoordinateReferenceSystem getCrs(String crs) throws LayerException
GeoService.getCrs2(String crs)CoordinateReferenceSystem with given code.crs - Coordinate reference system code. (EPSG:xxxx)CoordinateReferenceSystemLayerException - CRS code not found<TYPE extends LayerExtraInfo> TYPE getLayerExtraInfo(LayerInfo layerInfo, Class<TYPE> type)
LayerInfo. This
assumes the fully qualified class name of the object is used as key.TYPE - type to getlayerInfo - layerInfo object to querytype - type to get<TYPE extends LayerExtraInfo> TYPE getLayerExtraInfo(LayerInfo layerInfo, String key, Class<TYPE> type)
TYPE - type to getlayerInfo - layerInfo object to querykey - key from extraInfotype - type to getCopyright © 2015 Geosparc. All Rights Reserved.