anushani / atlasmapper

Automatically exported from code.google.com/p/atlasmapper
0 stars 0 forks source link

Adding a layer multiple times with different styles is not saved correctly in Map URL #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a layer multiple times to a map.
2. Change the style of one of these layers.
3. Use the link icon to get the map URL.

What is the expected output? What do you see instead?
Each layer should have its own style associated with it. Unfortunately in the 
map URL the style of duplicate layers are all the same in the URL. The result 
is the restored map is not the same as the original.

What version of the product are you using?
1.3

Original issue reported on code.google.com by eric.law...@gmail.com on 28 Mar 2013 at 4:27

GoogleCodeExporter commented 9 years ago
Note: even manually fixing up the style parameter (s0) does not result in a map 
with the correct styles. This may indicate an additional problem.

Original comment by eric.law...@gmail.com on 28 Mar 2013 at 5:26

GoogleCodeExporter commented 9 years ago

Original comment by lafond.g...@gmail.com on 23 Apr 2013 at 4:02

GoogleCodeExporter commented 9 years ago
Fixed in 1.4

When loading the URL, the layer configuration was copied from the layer 
catalogue, but the list of style was not copied; it was shared. So, when a 
layer was modifying the style to load by default, it was modifying it for all 
layers.

Original comment by lafond.g...@gmail.com on 12 Jul 2013 at 4:53

GoogleCodeExporter commented 9 years ago

Original comment by lafond.g...@gmail.com on 12 Jul 2013 at 5:02