OpenLayers OpenLayers

Ticket #1396 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

Non unique HTMLElement in Control

Reported by: fredj Assigned to: euzuro
Priority: minor Milestone: 2.7 Release
Component: Control Version: SVN
Keywords: Cc:
State: Complete

Description

The PanZoom and LayerSwitcher controls creates html elements with fixed id. This can cause problems is one creates more than 1 map in a the same page.

For example, the pan left button div id is always "OpenLayers_Control_PanZoom_panup".

Attachments

ids.patch (3.9 kB) - added by sbenthall on 07/31/08 19:35:19.

Change History

02/27/08 11:01:44 changed by euzuro

  • milestone set to 2.7 Release.

this is a good bug and worth fixing. lets be sure to fix it in 2.7

02/28/08 01:40:28 changed by fredj

Same problem for the LayerSwitcher base layers radio name: it's always 'baseLayers'

07/03/08 23:54:51 changed by euzuro

  • owner set to euzuro.
  • status changed from new to assigned.

07/31/08 14:57:33 changed by crschmidt

  • keywords set to should_be_easy.

07/31/08 14:58:20 changed by sbenthall

  • owner changed from euzuro to sbenthall.
  • status changed from assigned to new.

07/31/08 15:18:30 changed by sbenthall

  • status changed from new to assigned.

07/31/08 19:35:19 changed by sbenthall

  • attachment ids.patch added.

07/31/08 19:36:23 changed by sbenthall

  • owner changed from sbenthall to euzuro.
  • status changed from assigned to new.

Patch does what you'd expect.

07/31/08 19:36:34 changed by sbenthall

  • state set to Review.

08/01/08 13:21:56 changed by crschmidt

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

(In [7666]) Non unique HTMLElement in Control, fix put together by sbenthall. Tests pass, etc. (Closes #1396)