Hi

You could certainly do an timed ajax call that would send a request to the server every x min/sec to check if some modifications have been done on the layers. but it means you also need to add some code on php side so the information about the layers state is available (modifed, not modified or maybe modification date/time) then if the date/time (sent via ajax) of the map image displayed in the user's browser is older than the last layer modification, trigger the image coreplugin, otherwise do nothing. that way you do not have to reload the whole map image if there was no modification.

something like that.

regards
Oliver


Hi!
Is there a simple way to refresh map (for example ajaxable) after doing some changes on my layers (i am drawing them trought WFS-T).
Now i am simply using something like that:

JavaScript:location.reload(true);

I could use also:
WMS_LAYER.mergeNewParams({'foo': Math.random()});

but i'd like to refresh the whole map..

Thanks

--
Ing. Fabio D'Ovidio

INOVA Open Solutions s.r.l.
Web : http://www.inovaos.it
Tel.: 081 197 57 600
mail: [EMAIL PROTECTED]

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users


_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to