[fusion-users] Simplest way to activate Pan tool when loading map.
Paul Spencer
pspencer at dmsolutions.ca
Mon Nov 3 08:37:44 EST 2008
You should be able to do something like this:
Fusion.getWidgetsByType('Pan')[0].activate();
Cheers
Paul
On 3-Nov-08, at 8:24 AM, Måns Beckman wrote:
> Hi,
>
> I’m wondering what the simplest way to activate the Pan tool when
> loading a map would be? I think it would be great if the Pan tool
> was activated by default, because the first thing a user would like
> to do is probably to move or zoom in the map and they can already
> zoom using the mouse wheel.
>
> So is there a line of code or two that you could add to your
> template to make the Pan tool, or any other tool, active by default?
>
> Cheers
> Måns
>
> -----------------------------------------------------------
> Måns Beckman
> Man and Machine
> Fabriksgatan 13
> 412 50 Göteborg
> Phone: +46 31 - 762 8182
> Mobile: +46 733 - 38 83 19
>
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
__________________________________________
Paul Spencer
Chief Technology Officer
DM Solutions Group Inc
http://research.dmsolutions.ca/
More information about the fusion-users
mailing list