Try callling javascript form code behind before your indeks is
increased. For example:

...
Response.Write("<script>parent.mapFrame.Refresh();</script>);
...

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dorra2007
Sent: Saturday, November 10, 2007 1:10 PM
To: [email protected]
Subject: re[mapguide-users] fresh map/layer


How to trigger map refresh without any mouse event or other events.
Mglayer.ForceRefresh() doesn't work neither mapFrame.Refresh();
The refresh action occurs at the end of page load; while I need to
refresh
the map or the layer while the servlet is executing.

In other words; In my code I embed a for loop which inserts new row in a
postgis database, each time the index increased; I need to refresh the
map
before increasing the index; so that the map looks as animated.

Any suggestion is welcome;
Regards. 
-- 
View this message in context:
http://www.nabble.com/refresh-map-layer-tf4782343s16610.html#a13681426
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
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