[OpenLayers-Dev] MouseToolbar on IE and Firefox
Schuyler Erle
sderle at metacarta.com
Wed Apr 25 12:54:56 EDT 2007
On Wed, 2007-04-25 at 00:38 +0200, Antonio wrote:
> Hi ,
> I am using ol 2.4.rc2 and I have this line in my code
>
> map.addControl(new OpenLayers.Control.MouseToolbar({'div':
> $('toolbar'),direction:'orizontal'}));
> This works fine with Firefox , doesn't work on IE ( I have IE 7, I
> didn't try on IE 6).
>
> The line
> map.addControl(new OpenLayers.Control.MouseToolbar());
>
> work with both.
The MouseToolbar is deprecated. Try using the NavToolbar control
instead.
SDE
More information about the Dev
mailing list