Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/map/WMSLayerFacet.java @ 7744:8abc86160959
issue765: When creating a WMSLayerFacet copy, also copy original
extent.
Through this, the initial scaling of the layer will be correct and cloned
projects will show the floodmap.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 07 Feb 2014 15:48:43 +0100 |
parents | 72d0cec59c78 |
children | e4606eae8ea5 |
comparison
equal
deleted
inserted
replaced
7743:a67bd7744827 | 7744:8abc86160959 |
---|---|
184 } | 184 } |
185 else { | 185 else { |
186 copy.layers = new ArrayList<String>(); | 186 copy.layers = new ArrayList<String>(); |
187 } | 187 } |
188 | 188 |
189 copy.originalExtent = originalExtent; | |
189 copy.url = url; | 190 copy.url = url; |
190 copy.extent = extent; | 191 copy.extent = extent; |
191 copy.srid = srid; | 192 copy.srid = srid; |
192 } | 193 } |
193 | 194 |