<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta content="MSHTML 6.00.6000.16608" name="GENERATOR">
<style title="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body ocsi="x">
<p><font face="Arial" size="2">Hello list.</font></p>
<p><font face="Arial" size="2"></font>&nbsp;</p>
<p><font face="Arial" size="2">I'm trying to insert an imagemap into one map image I'm creating.</font></p>
<p><font face="Arial" size="2">The header, body, and footer templates are written as described</font></p>
<p><font face="Arial" size="2">in various mails.</font></p>
<p><font face="Arial" size="2"></font>&nbsp;</p>
<p><font face="Arial" size="2">Although the cgi call returns the html file with the &lt;map&gt;&lt;...&gt;&lt;/map&gt;</font></p>
<p><font face="Arial" size="2">stuff inside, the same does not work with php/mapscript, as the
</font></p>
<p><font face="Arial" size="2">&lt;area...&gt; tags are not there.</font></p>
<p><font face="Arial" size="2"></font>&nbsp;</p>
<p><font face="Arial" size="2">The php/mapscript code is as follows:</font></p>
<p><font face="Arial" size="2">&nbsp;&nbsp;$imagemap = $GLOBALS[&quot;imagemap&quot;];</font></p>
<p><font face="Arial" size="2">&nbsp;&nbsp;$img = $imagemap-&gt;draw();<br>
&nbsp;&nbsp;$img-&gt;saveImage(&quot;c:/ms4w/Apache/htdocs/naseismic/eq_imagemap.html&quot;, $imagemap);</font></p>
<p><font face="Arial" size="2">...</font></p>
<p><font face="Arial" size="2">&nbsp;&nbsp;echo &quot;&lt;IMG ID = \&quot;MAINMAP\&quot; SRC = '&quot; .$GLOBALS['url']. &quot;' BORDER = 0 WIDTH = $nWidth HEIGHT = $nHeight NAME = 'MAINMAP' usemap = '#eq_imagemap'&gt;&quot;;<br>
</font></p>
<p><font face="Arial" size="2">It seems that I'm doing sth wrong, or there is a bug in the Mapserver 5 version that I have.</font></p>
<p><font face="arial" size="2"></font>&nbsp;</p>
<p><font face="arial" size="2">Has someone any idea, please? I have read many mails sent to the mapserver list, and</font></p>
<p><font face="arial" size="2">have tried lots of things, but nothing happens.</font></p>
<p><font face="arial" size="2"></font>&nbsp;</p>
<p><font face="arial" size="2">Dimitrios</font></p>
</body>
</html>