OpenLayers OpenLayers

Ticket #359 (closed bug: fixed)

Opened 2 years ago

Last modified 11 months ago

Permalink's layers string not updated on clicking in LayerSwitcher

Reported by: euzuro Assigned to: sderle
Priority: minor Milestone: 2.5 Release
Component: Control.Permalink Version: SVN
Keywords: Cc:
State:

Description

r1705

If you click a new baselayer or hide/show an overlay in the LayerSwitcher and then click directly on the PermaLink without moving the map, the permalink's href is not updated to the new data.

Attachments

permalink.patch (2.6 kB) - added by crschmidt on 07/15/07 02:20:25.
permalink.2.patch (3.4 kB) - added by crschmidt on 07/15/07 10:38:52.
359.patch (5.4 kB) - added by crschmidt on 09/11/07 23:01:32.
359.2.patch (3.2 kB) - added by crschmidt on 09/11/07 23:02:12.

Change History

10/25/06 06:19:53 changed by euzuro

  • component changed from Control to Control.Permalink.

04/05/07 14:10:16 changed by sderle

  • milestone set to 2.5 Release.

06/17/07 11:03:54 changed by crschmidt

  • keywords set to needstests.

07/15/07 02:20:25 changed by crschmidt

  • attachment permalink.patch added.

07/15/07 02:21:18 changed by crschmidt

  • keywords changed from needstests to review.

Patch, plus tests. Tests need to be run in IE: I can't test to make sure isEquivalentUrl is working correctly here.

07/15/07 10:38:52 changed by crschmidt

  • attachment permalink.2.patch added.

07/15/07 10:39:27 changed by crschmidt

Second patch also tests to ensure that if changelayer is called before a center exists in the map, an exception is not raised.

09/11/07 23:01:32 changed by crschmidt

  • attachment 359.patch added.

09/11/07 23:02:12 changed by crschmidt

  • attachment 359.2.patch added.

09/11/07 23:24:21 changed by euzuro

  • keywords changed from review to commit.

new patch is good. ff & ie6 happy. i will commit (with small style modification)

09/11/07 23:26:38 changed by euzuro

  • keywords deleted.
  • status changed from new to closed.
  • resolution set to fixed.

(In [4228]) make sure permalink updates itself when layers change name/visibility or when a baselayer switch is made. (Closes #359)