[OpenLayers-Trac] Re: [OpenLayers] #3425: Control.Permalink should update its link when layers are added or removed

OpenLayers trac-20090302 at openlayers.org
Mon Jul 25 10:55:06 EDT 2011


#3425: Control.Permalink should update its link when layers are added or removed
-------------------------------+--------------------------------------------
 Reporter:  marcjansen         |       Owner:  crschmidt   
     Type:  bug                |      Status:  new         
 Priority:  minor              |   Milestone:  2.12 Release
Component:  Control.Permalink  |     Version:  SVN         
 Keywords:                     |       State:  Review      
-------------------------------+--------------------------------------------

Comment(by bartvde):

 Hi Marc, can you explain one thing to me. Will this not break existing
 permalinks? Imagine the following use case: an application starts up with
 5 layers, and the middle one has visibility false. This will lead to
 &layers=TTFTT in the permalink. Then if somebody adds a layer dynamically
 using an add WMS dialog or something else, it will change to
 &layers=TTTFTT. However if he comes back to the application tomorrow,
 there will only be 5 layers initially, and the visibility will get mixed
 up from his expectations. So how is this change supposed to make sense if
 there is no way to reload the complete state of the application (i.e. the
 dynamically added layers). Can you please enlighten me, since maybe I am
 missing something obvious here.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3425#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list