Ticket #2331 (closed feature: fixed)

Opened 4 years ago

Last modified 4 years ago

set specific baseLayers radio button name to avoid several layerswitcher conflict

Reported by: pgiraud Owned by: euzuro
Priority: minor Milestone: 2.9 Release
Component: Control.LayerSwitcher Version: 2.8
Keywords: Cc:
State: Complete

Description

Currently, the radio buttons in the LayerSwitcher control always have the same name. We need to make it LayerSwitcher instance dependant so that checking a radio button in one layerSwitcher doesn't uncheck the radio buttons in an other switcher.

Attachments

patch-2331.diff Download (0.7 KB) - added by pgiraud 4 years ago.
patch-2331.2.diff Download (1.5 KB) - added by pgiraud 4 years ago.

Change History

Changed 4 years ago by pgiraud

I will gladly add tests in my patch if required.

Changed 4 years ago by pgiraud

Changed 4 years ago by pgiraud

  • state set to Review

Changed 4 years ago by pgiraud

Changed 4 years ago by bartvde

  • state changed from Review to Commit

Looks good Pierre, please commit.

Changed 4 years ago by pgiraud

  • status changed from new to closed
  • state changed from Commit to Complete
  • resolution set to fixed

(In [9772]) give the radio buttons for the baselayers in the layer switcher control a name depending on the layerswitcher, this avoids problems with several maps and several layer switchers in the same page, r=bartvde (Closes #2331)

Note: See TracTickets for help on using tickets.