Wally Maddoc wrote:
The usual way to send a map to the browser is to store the image file (e.g
mymap.png) on the server and invoke the URL to this file in the HTML-Code.

If you want to output the image directly, use $map->image->saveImage() with no filename. That sends it to stdout. Used with header() you can have the image downloaded or displayed or whatever.

http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class/classes/imageobj

--
Gregor Mosheh / Greg Allensworth
System Administrator, HostGIS cartographic development & hosting services
http://www.HostGIS.com/

"Remember that no one cares if you can back up,
 only if you can restore." - AMANDA

Reply via email to