Reference map object

Wally Maddoc wallacher at INNOMIS.COM
Fri Feb 1 06:26:52 PST 2008


Sorry list,

there has been an error in my reply

I wrote:
_______________________________________________________________
if $map is your map object than the lines below would set the extent of the
reference map:

$map->reference->set('minx',-180)
$map->reference->set('miny',-180)
$map->reference->set('maxx',180)
$map->reference->set('maxy',180)
_______________________________________________________________
It should be:

$map->reference->extent->set('minx',-180)
$map->reference->extent->set('miny',-180)
$map->reference->extent->set('maxx',180)
$map->reference->extent->set('maxy',180)

sorry
erik



More information about the MapServer-users mailing list