[OpenLayers-Users] relocating PanZoom Control

Lance Dyas lancelot at inetnebr.com
Tue Feb 27 21:45:36 EST 2007


Bart van den Eijnden (OSGIS) wrote:
> Hi Brad,
>
> true, I had to change something for that in the MouseToolbar code, I changed
> the initialize function to:
>
> initialize: function(options) {
> OpenLayers.Control.prototype.initialize.apply(this, [options]);
> },
>
> which worked for me.
>
> But maybe there is a better way?
>
> Best regards,
> Bart
>
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
>   
 
There may be no currently better way  as there seems to be real errors 
in some of the controls initialization code
 I did something similar for mousetoolbar inorder for it to exist 
outside of the map.
http://www.microimages.com/ogc/maps/nebraskaopen.htm






More information about the Users mailing list