Ticket #359 (closed bug: fixed)

Opened 7 years ago

Last modified 6 years ago

Permalink's layers string not updated on clicking in LayerSwitcher

Reported by: euzuro Owned by: 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 Download (2.6 KB) - added by crschmidt 6 years ago.
permalink.2.patch Download (3.4 KB) - added by crschmidt 6 years ago.
359.patch Download (5.4 KB) - added by crschmidt 6 years ago.
359.2.patch Download (3.2 KB) - added by crschmidt 6 years ago.

Change History

Changed 7 years ago by euzuro

  • component changed from Control to Control.Permalink

Changed 6 years ago by sderle

  • milestone set to 2.5 Release

Changed 6 years ago by crschmidt

  • keywords needstests added

Changed 6 years ago by crschmidt

Changed 6 years ago by crschmidt

  • keywords review added; needstests removed

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

Changed 6 years ago by crschmidt

Changed 6 years ago 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.

Changed 6 years ago by crschmidt

Changed 6 years ago by crschmidt

Changed 6 years ago by euzuro

  • keywords commit added; review removed

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

Changed 6 years ago by euzuro

  • keywords commit removed
  • 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)

Note: See TracTickets for help on using tickets.