and what is written in the file \incphp\map.php in the lines before line 
735...?



Cristian_rougier wrote:
> Dears, when i try to zoomto an item of search result, nothing happen
>  and in my php_error.log say : 
> 
> [06-Dec-2007 13:17:11] PHP Fatal error:  Object expected as argument. in
> C:\ms4w\apps\pmapper-3.2-beta2\incphp\map.php on line 735.
> 
> this is my layer
> 
> LAYER
>   NAME "vias_dao"
>   STATUS ON
>   TYPE line
>   CONNECTIONTYPE postgis
>   CONNECTION "user=postgres password=ruyi4232 dbname=postgis host=localhost
> port=5432"
>   DATA "the_geom from vias_dao"       
>   TEMPLATE "silueta.html" 
>  # LABELITEM "NAME"
>  # LABELCACHE ON
>    MINSCALE 10
>    MAXSCALE 140000 
> 
> 
>  PROJECTION
>   "proj=latlong"
>   "ellps=WGS84"
>   "datum=WGS84"
>  END
>   
>   METADATA 
>     "DESCRIPTION" "Vias"
>       "RESULT_FIELDS" "nombre"
>       "RESULT_HEADERS" "NOMBRE"
>   END  # Metadata 
> 
>   CLASS
>     Name 'vias_dao'
>     COLOR 0 0 0
>     OUTLINECOLOR 0 0 0
>     LABEL
>         SIZE TINY #tinysmallmediumlargegiant
>         POSITION auto
>         ANGLE AUTO
>         BUFFER 1 #40 how close label are to each other
>         MINDISTANCE 50
>         MINFEATURESIZE 30
>         TYPE truetype
>         FONT arial
>         SIZE 6
>         COLOR 0 0 0
>         SHADOWCOLOR 218 218 218
>         SHADOWSIZE 2 2
>      END    
>   END  # Class
> END  # Layer
> 
> 
> If you please help me
> best regards
> 
> Cristian

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to