[mapguide-users] how to synchrony Map and Task Pane in fusion?

foolfish xjimmyshcn at sohu.com
Tue Jun 10 05:55:13 EDT 2008


a new problem occur~

i create a mouse event for Map:  
in the page in Task Pane i add the following code:
<script type="text/javascript" >
var main = parent.parent;
var map =parent.document.getElementById("Map");
map.onclick = function(e)
{
       window.top.TaskPane_IFRAME.location.reload(true);              
}

when i select a line in Map with mouse,the Map refresh automatic,and the
map.onclick event is executed.
but the sequence is not right.

i want map.onclick event after the Map refresh automatic.

how to synchrony the Map refresh automatic and map.onclick event?
-- 
View this message in context: http://www.nabble.com/how-to-synchrony-Map-and-Task-Pane-in-fusion--tp17751706p17751706.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list