Mercurial > dive4elements > gnv-client
diff gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java @ 984:cfc7bd35ee0b
Set the map to the extent which was sent by the rest-server
gnv/trunk@1167 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Mon, 07 Jun 2010 14:52:45 +0000 |
parents | 0846c9c4abdd |
children | 541ff0db1b12 |
line wrap: on
line diff
--- a/gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java Mon Jun 07 12:35:49 2010 +0000 +++ b/gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java Mon Jun 07 14:52:45 2010 +0000 @@ -28,6 +28,11 @@ * The URl of this mapservice. */ private String url = null; + + /** + * The Bbox which surrounds the data of the Mapservice + */ + private String bbox = null; /** * Constructor @@ -45,6 +50,21 @@ this.type = type; this.url = url; } + + /** + * Constructor + * + * @param id the id of this mapservice + * @param layer the layer which are provided by this mapservice + * @param type the type of this mapservice + * @param url the URl of this mapservice + * @param bbox the Bbox which surrounds the data of the Mapservice + */ + public DefaultMapService(String id, Collection<Layer> layer, + String type, String url, String bbox) { + this(id,layer,type,url); + this.bbox = bbox; + } public String getID() { @@ -65,5 +85,9 @@ public String getURL() { return this.url; } + + public String getBBoxValue() { + return this.bbox; + } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :