Ticket #2188 (closed bug: fixed)
Case-Sensitivity-Bug in class PanZoomBar causes problems changing zoombar style (and more)
|Reported by:||Gerardo||Owned by:||crschmidt|
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.
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
Use the patch I attached. ;-)