[mapguide-users] Re: Ajax Programming to refresh map only

Ivan Miličević Ivan.Milicevic at supranet.hr
Wed Jan 20 03:37:45 EST 2010


CroNicoRn, please try this:

<script language="javascript">  
    var t;
        function Timer()
        {
            new Boolean(false);
            alert(parent.parent .GetScale());
            t=setTimeout("Timer()",5000);
        }
        function stopCount()
        {
            clearTimeout(t);
        }
    </script>

It seems that your code doesn't interact with mapFrame. Try this and please provide us the value in alert box.


-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of CroNicoRn
Sent: Wednesday, January 20, 2010 5:28 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Re: Ajax Programming to refresh map only


http://n2.nabble.com/file/n4424753/nabble.jpg 

No error.. but that code refresh 3 viewers ( layer / Properties panel & Map View & Task Panel ). I just want refresh on map to easy i control layer properties.. 

Thanx

-----
http://www.myguidepages.com  http://n2.nabble.com/file/u115131/ajid.jpg
--
View this message in context: http://n2.nabble.com/Ajax-Programming-to-refresh-map-only-tp4418024p4424753.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list