re[mapguide-users] fresh map/layer
Ivan Milicevic
Ivan.Milicevic at supranet.hr
Sat Nov 10 14:34:00 EST 2007
Try callling javascript form code behind before your indeks is
increased. For example:
...
Response.Write("<script>parent.mapFrame.Refresh();</script>);
...
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of dorra2007
Sent: Saturday, November 10, 2007 1:10 PM
To: mapguide-users at lists.osgeo.org
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
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list