[OpenLayers-Trac] [OpenLayers] #512: Improved controls over MouseToolbar
OpenLayers
trac at openlayers.org
Thu Mar 1 17:03:46 EST 2007
#512: Improved controls over MouseToolbar
-------------------------------------------+--------------------------------
Reporter: openlayers | Owner:
Type: feature | Status: new
Priority: minor | Milestone:
Component: Control.MouseToolbar | Version:
Keywords: mousetoolbar position control |
-------------------------------------------+--------------------------------
OpenLayers provides a facility to relocate the PanZoomBar into a Div
located anywhere in an application window. This is undertaken via the
following code:
OpenLayers.Control.PanZoomBar({div:$('zoomLevelContainer')}));
It would be really nice to relocate the MouseToolbar in a similar way.
Moving these controls off the map Div removes some other mouse conflicts
and it also enables a clean map without overlayed controls. GoogleMaps
does this by allowing you to anchor the controls to any of the four map
corners with offset pixels. However, the Div solution provided in
PanZoomBar is a better solution in my mind.
Cheers, Bard...
--
Ticket URL: <http://trac.openlayers.org/ticket/512>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list