[Cartoweb-users] php\mapscrip zoompoint function

Fabio D'Ovidio fabiodovidio at gmail.com
Mon Sep 8 06:00:36 EDT 2008


Hello!
I wrote a plugin in order to geocoding addresses. Now I'm trying to zoom 
in on the X,Y returned values. I'd like to do something like:

        $map_path="C:/ms4w/apps/cartoweb3/projects/k21/server_conf/myProj/";
         $map_file="myMap.map";
        
         $gpoMap = ms_newMapObj($map_path.$map_file);

        
         $my_extent = ms_newrectObj();
         $my_extent->setextent(?,?,?,?);

         $gpoMap->zoompoint(ZOOMFACTOR,$myXY, WIDTH, HEIGHT, EXTENT);

how can I get easly the current EXTENT and ZOOMFACTOR, WIDTH, HEIGHT ?

I image I must use filterPostRequest function....  isn't it ?

Thanks

-- 
Ing. Fabio D'Ovidio

INOVA Open Solutions s.r.l.
Web : http://www.inovaos.it
Tel.: 081 197 57 600
mail: fabiodovidio at gmail.com



More information about the Cartoweb-users mailing list