drawLegend() and drawScalebar()

Zolla Michalak michalak at hwr.arizona.edu
Fri Jun 16 16:53:59 EDT 2000



I'm getting a segmentation fault for both drawLegend() and drawScalebar().

My code is:

$legendImg = $map->drawLegend();
$scalebarImg = $map->drawScalebar(); 

Should these methods work on thier own, or do I need to call something
else first like drawLabelCache(image)? ($map is a working mapObj)

I'm also having trouble with queryUsingRect(rect) and queryUsingPoint().
Has anyone had success with these methods? If so, would you mind sending
code examples?

Thanks! 

-zm





More information about the mapserver-users mailing list