Mercurial > dive4elements > river
changeset 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 | a67bd7744827 |
children | 1d6b957d8953 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/model/map/WMSLayerFacet.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/map/WMSLayerFacet.java Fri Feb 07 10:54:03 2014 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/map/WMSLayerFacet.java Fri Feb 07 15:48:43 2014 +0100 @@ -186,6 +186,7 @@ copy.layers = new ArrayList<String>(); } + copy.originalExtent = originalExtent; copy.url = url; copy.extent = extent; copy.srid = srid;