[ZS2] Re: [mapguide-users] Automatic refresh map in web application

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Sat Nov 1 07:13:37 EDT 2008


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
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>       
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>>     
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20081101/d04dcfc8/attachment.html


More information about the mapguide-users mailing list