[Cartoweb-users] geoloc

Oliver Christen oliver.christen at camptocamp.com
Tue Jun 3 02:14:46 EDT 2008


Hi

well, addMessage will only generate a javascript "alert(...)" with the 
message you specified.

if you want to open an html page, you will need to do it with the normal 
template output system (renderForm / ajaxGetPluginResponse) which will 
trigger some javascript doing a windows.open

regards
Oliver


> Hi,
> I'm testing the geoloc plugin.
> At this time it returns alert with X and Y.
> How can I change code to obtain new html page (by window.open) with X and 
> Y?
> I think that I have to change in ClientGeoloc.php:
> $this->getCartoclient()->addMessage('geo_x='.$this->Geo_x.',geo_y='.$this->Geo_y);
>
> Can you help me plesae?
>
> thanx
>
> wochter
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list