the map should be refreshed automaticaly as long as you did the mapObj modification in function handlePreDrawing (server side of your plugin) or before (see flux diagram http://www.cartoweb.org/doc/misc/plugins_diagram.pdf)

when in ajax mode, you also need to be sure you *dont* have $pluginEnabler->disableCoreplugins(); in the ajaxHandleAction function.

as long as the coreplugin are triggered (especialy images) the map should be refreshed.

regards
Oliver

Hi,

With a plugin i send informations from client side to server side. I create
dynamically new layers server side, no problem.
But how can i refresh the map image after the mapObj modification ?
Actually, i can see the modifications if i do a zoom/dezoom/recenter
manually.

Thanks,

Christophe

_______________________________________________
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