That depends on your setup and requirements.

I would suggest that you place it in an outer html page.
If you look at the setup outlined on page 19 in the developers guide:
http://mapguide.osgeo.org/2.0/documentation.html

I would recommend using either "your banner" or "your frameset" to host the code.
If you put it in the ajaxmappane, you have to use:

window.setInterval('Refresh()', 30000);

Because you are already in the mapframe when performing the call.

Regards, Kenneth Skovhede, GEOGRAF A/S



anakando skrev:
hi Kenneth..where should i put that script? i tried to put into
ajaxmappane.temp but not working.Thanx in advanced.


Kenneth Skovhede, GEOGRAF A/S wrote:
Do you mean something like?:
window.setInterval('GetMapFrame().Refresh()', 30000);

Regards, Kenneth Skovhede, GEOGRAF A/S



Grace Chai skrev:
Hi,

Does anyone has any idea about how to automatic refresh the map in the mapguide web application without pressing any button ?

Thx for the idea suggested.

regards,
Grace

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users



_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to