Opened 16 years ago
Closed 16 years ago
#317 closed defect (fixed)
Layer with named styles: gui_layer_style set to null
Reported by: | mschulz | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 2.5.1 release |
Component: | user interface | Version: | 2.5 |
Keywords: | Cc: |
Description
The style name of a layer (when not default) is set to null when the layer is added to a gui via wms_add_layer. The wms_layer function in map_obj.js sets the value of gui_layer_style in line 738, but resets it in line 740 to null.
Change History (3)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
I tried that here and it works, though I have no clear overview if it was set to null on purpose, when implementing named styles. But I think removing the line should do the trick.
Note:
See TracTickets
for help on using tickets.
Do you think we can just remove line 740?