Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/MapInfo.java @ 4632:02cf2b1dff84
Make floodmap riveraxis layer name configurable.
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Tue, 04 Dec 2012 13:20:38 +0100 |
parents | fac54b8470d4 |
children | 5014a84c0c7d |
comparison
equal
deleted
inserted
replaced
4631:d35d316049e8 | 4632:02cf2b1dff84 |
---|---|
3 import java.io.Serializable; | 3 import java.io.Serializable; |
4 | 4 |
5 | 5 |
6 public class MapInfo implements Serializable { | 6 public class MapInfo implements Serializable { |
7 | 7 |
8 private static final long serialVersionUID = 6691651140549280493L; | 8 private static final long serialVersionUID = 6691651140549280494L; |
9 | 9 |
10 protected String river; | 10 protected String river; |
11 protected int srid; | 11 protected int srid; |
12 protected BBox bbox; | 12 protected BBox bbox; |
13 protected String wmsUrl; | 13 protected String wmsUrl; |
14 protected String wmsLayers; | |
14 protected String backgroundWmsUrl; | 15 protected String backgroundWmsUrl; |
15 protected String backgroundWmsLayers; | 16 protected String backgroundWmsLayers; |
16 | 17 |
17 | 18 |
18 public MapInfo() { | 19 public MapInfo() { |
22 public MapInfo( | 23 public MapInfo( |
23 String river, | 24 String river, |
24 int srid, | 25 int srid, |
25 BBox bbox, | 26 BBox bbox, |
26 String wmsUrl, | 27 String wmsUrl, |
28 String wmsLayers, | |
27 String backgroundWmsUrl, | 29 String backgroundWmsUrl, |
28 String backgroundWmsLayers) | 30 String backgroundWmsLayers) |
29 { | 31 { |
30 this.river = river; | 32 this.river = river; |
31 this.srid = srid; | 33 this.srid = srid; |
32 this.bbox = bbox; | 34 this.bbox = bbox; |
33 this.wmsUrl = wmsUrl; | 35 this.wmsUrl = wmsUrl; |
36 this.wmsLayers = wmsLayers; | |
34 this.backgroundWmsUrl = backgroundWmsUrl; | 37 this.backgroundWmsUrl = backgroundWmsUrl; |
35 this.backgroundWmsLayers = backgroundWmsLayers; | 38 this.backgroundWmsLayers = backgroundWmsLayers; |
36 } | 39 } |
37 | 40 |
38 | 41 |
59 public String getWmsUrl() { | 62 public String getWmsUrl() { |
60 return wmsUrl; | 63 return wmsUrl; |
61 } | 64 } |
62 | 65 |
63 | 66 |
67 public String getWmsLayers() { | |
68 return wmsLayers; | |
69 } | |
70 | |
71 | |
64 public String getBackgroundWmsUrl() { | 72 public String getBackgroundWmsUrl() { |
65 return backgroundWmsUrl; | 73 return backgroundWmsUrl; |
66 } | 74 } |
67 | 75 |
68 | 76 |