[Mapserver-users] Drawing groups with perlMapscript

Eduardo Spremolla edspremolla at Antel.com.uy
Wed May 7 07:44:38 EDT 2003


Hi all:

	In the CGI version you can set a group on and all the layers in the
group get draw.
	I'm now working with perl Mapscript , and the sequence:

  	my $layer = $map->getLayerByName('group_name');
        $layer->draw($map, $img);
    
	fails, since there is no layer with that name.

	Is there a way to do it, without stating every layer in the group?

Thanks in advance


Eduardo Spremolla
Montevideo
Uruguay








More information about the mapserver-users mailing list