[mapguide-users] Help with setting default map action
Dragan Podvezanec
dragan.podvezanec at gmail.com
Mon Sep 22 05:30:38 EDT 2008
Hi all.
I'm trying to set default action in ajax viewer to be PAN instead of SELECT.
So, I did in web layout URL for home task in task pane pan.php , and pan.php
looks like:
<html>
<head>
<script language="javascript">
function OnPageLoad()
{
parent.parent.mapFrame.ExecuteMapAction(4);
}
</script>
</head>
<body onload="OnPageLoad()">
</body>
</html>
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-tp19604509p19604509.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list