Ticket #2188 (closed bug: fixed)
Case-Sensitivity-Bug in class PanZoomBar causes problems changing zoombar style (and more)
| Reported by: | Gerardo | Owned by: | crschmidt |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.9 Release |
| Component: | Control.PanZoomBar | Version: | 2.8 |
| Keywords: | Cc: | g-a-d@… | |
| State: | Complete |
Description
Case Sensitivity Bug in OpenLayers.Control.PanZoomBar
Property zoomBarDiv in class PanZoomBar is mainly referenced as zoombarDiv inside the class. Therefore zoomBarDiv will never be initialized.
Consequently you get an zoomBarDiv is null error if you want to use that property outside the class.
Platform, OS
Every.
Detailed steps …
I ran across that problem wanting to change the zoombar style. (You can see exactly what happens at the following link, where I try to change the background color of the zoombar.)
Link to code
Planned solution
Use the patch I attached. ;-)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

