[mapserver-users] referenceMapObj - PHP

Hankley, Chip Chip.Hankley at GASAI.Com
Wed Nov 21 12:52:59 PST 2001


How do I access the properties of a referenceMapObj with PHP MapScript?

I want to change the width and height properties...

I've tried several variations on the following... ($map is set)

  $refmap=$map->referenceMapObj;
  $refmap->set('width', 100);

or 

  $map->referenceMapObj->set('width', 100);

...both of these result in Fatal error: Call to a member function on a
non-object in ...


Thanks!

Chip Hankley



More information about the MapServer-users mailing list