TrueType font support with PHP 3.0.15 on RH 6.2 ?

Daniel Morissette danmo at videotron.ca
Fri Aug 18 09:31:35 PDT 2000


"Doyon, Jean-Francois" wrote:
> 
> I'm trying to get the extent of a map (as set in the map file) into
> variables
> for manipulation, but am not having any luck.
> 
> I've tried things like :
> 
> $minx = $map->extent->minx;
> $minx = $map->extent(minx);
> $extent = $map->extent;
> echo $extent->minx
> 
> and a few more ... but I never get anything returned ! (No errors though).
> 

Assuming your Map Object is called "$map", then

	echo $map->extent->minx;
or
	$minx = $map->extent->minx;

should both work... we use it a lot. So it must be something else that
you overlooked in your function.

BTW, $extent = $map->extent;
     echo $extent->minx;
should work too.

-- 
------------------------------------------------------------
 Daniel Morissette                       danmo at videotron.ca
              http://pages.infinit.net/danmo/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.




More information about the MapServer-users mailing list