[mapguide-users] Ajax Programming to refresh map only

Zac Spitzer zac.spitzer at gmail.com
Mon Jan 18 23:26:13 EST 2010


does your code work? need more info

2010/1/19 CroNicoRn <ah_jid at yahoo.com>:
>
> Anyone can share me how i wanna click single button then refresh the map
> only.. may be ajax or java..
>
>
>
> my refresh coding ( refresh layer properties "left panel" and "right panel"
> timer.aspx
> -------------
> <body onload="Timer()">
> <input type="button" value="Stop" onClick="stopCount()">
>
> <script language="javascript">
>    var t;
>        function Timer()
>        {
>            new Boolean(false);
>            parent.parent .Refresh();
>            t=setTimeout("Timer()",5000);
>        }
>        function stopCount()
>        {
>            clearTimeout(t);
>        }
>    </script>
> <%
> String mgSessionId = GetRequestParameters()["SESSION"];
> %>
> </body>
> </html>
>
> 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-tp4418024p4418024.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
>



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168


More information about the mapguide-users mailing list