Hello list.


I'm trying to insert an imagemap into one map image I'm creating.

The header, body, and footer templates are written as described

in various mails.



Although the cgi call returns the html file with the <map><...></map>

stuff inside, the same does not work with php/mapscript, as the

<area...> tags are not there.



The php/mapscript code is as follows:

  $imagemap = $GLOBALS["imagemap"];

  $img = $imagemap->draw();
  $img->saveImage("c:/ms4w/Apache/htdocs/naseismic/eq_imagemap.html", 
$imagemap);

...

  echo "<IMG ID = \"MAINMAP\" SRC = '" .$GLOBALS['url']. "' BORDER = 0 WIDTH = 
$nWidth HEIGHT = $nHeight NAME = 'MAINMAP' usemap = '#eq_imagemap'>";

It seems that I'm doing sth wrong, or there is a bug in the Mapserver 5 version 
that I have.



Has someone any idea, please? I have read many mails sent to the mapserver 
list, and

have tried lots of things, but nothing happens.



Dimitrios
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to