re[mapguide-users] fresh map/layer

dorra2007 dorrdor at yahoo.fr
Mon Nov 12 04:46:32 EST 2007


Thank you for the suggestion but parent.mapFrame.Refresh() dosn't work
also....Is there other solutions!!!!!!


Ivan Milicevic-3 wrote:
> 
> 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
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/refresh-map-layer-tf4782343s16610.html#a13702669
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list