[OpenLayers-Users] MouseToolbar Control

andy aborruso at tin.it
Tue Apr 24 04:48:32 EDT 2007


Hi all,
I would like to use a personalized div for MouseToolbar control, and 
(with openlayers 2.3) I have tried this syntax:
"map.addControl(new OpenLayers.Control.MouseToolbar({'div':$('mydiv')}));"

I have this js error "centered.add is not a function" related to 
MouseToolbar.js.

Is there a way to use a personalized div for MouseToolbar Control. I'm 
able to use it for Permalink and PanZoomBar controls.

Thank you,

a




More information about the Users mailing list