[mapguide-users] Help with setting default map action
Jackie C. Ng
jumpinjackie at gmail.com
Mon Sep 22 07:32:17 EDT 2008
It's most likely a timing issue whereby you are accessing the DOM before it
has been fully initialized.
Have you tried the technique described below?
Dragan Podvezanec wrote:
> Hi all.
> I'm trying to set default action in ajax viewer to be PAN instead of
> So, I did in web layout URL for home task in task pane pan.php , and
> pan.php looks like:
> function OnPageLoad()
> <body onload="OnPageLoad()">
> I tried also other actions, but anyway, I get error:
> parent.parent.mapFrame.ExecuteMapAction is not a function
> So, what is wrong with this, and is there any other way to set default
> viewer action to PAN ?
View this message in context: http://www.nabble.com/Help-with-setting-default-map-action-tp19604509p19606185.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users