comparison 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
comparison
equal deleted inserted replaced
983:45ea5feb94c0 984:cfc7bd35ee0b
26 26
27 /** 27 /**
28 * The URl of this mapservice. 28 * The URl of this mapservice.
29 */ 29 */
30 private String url = null; 30 private String url = null;
31
32 /**
33 * The Bbox which surrounds the data of the Mapservice
34 */
35 private String bbox = null;
31 36
32 /** 37 /**
33 * Constructor 38 * Constructor
34 * 39 *
35 * @param id the id of this mapservice 40 * @param id the id of this mapservice
42 super(); 47 super();
43 this.id = id; 48 this.id = id;
44 this.layer = layer; 49 this.layer = layer;
45 this.type = type; 50 this.type = type;
46 this.url = url; 51 this.url = url;
52 }
53
54 /**
55 * Constructor
56 *
57 * @param id the id of this mapservice
58 * @param layer the layer which are provided by this mapservice
59 * @param type the type of this mapservice
60 * @param url the URl of this mapservice
61 * @param bbox the Bbox which surrounds the data of the Mapservice
62 */
63 public DefaultMapService(String id, Collection<Layer> layer,
64 String type, String url, String bbox) {
65 this(id,layer,type,url);
66 this.bbox = bbox;
47 } 67 }
48 68
49 69
50 public String getID() { 70 public String getID() {
51 return this.id; 71 return this.id;
63 83
64 84
65 public String getURL() { 85 public String getURL() {
66 return this.url; 86 return this.url;
67 } 87 }
88
89 public String getBBoxValue() {
90 return this.bbox;
91 }
68 } 92 }
69 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 93 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org