Gregor Mosheh schrieb: > 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 >
Thanks to Guilaume and Gregor. This exactly what I wanted. Best regards Erik
