<P>
&nbsp; <BR>
Hi<BR>
&nbsp; Steve/List&nbsp; <BR>
&nbsp; &nbsp; The mapserver is generating the imagefile(text/html) in imagelocations(IMAGEPATH). This is done by using the following three lines of PHP codes.<BR>
1)$map2 = ms_newMapObj(&quot;/usr/local/apache/htdocs/gmap/htdocs/imagemap.map&quot;);<BR>
2)$img2 = $map2-&gt;draw();<BR>
3)$imagemap_url = $img2-&gt;saveWebImage(MS_IMAGEMAP, 0, 0, 0); <BR>
<BR>
&nbsp; But in the imagemapfile i am not getting the desired field and its value from .dbf file. Please check it out in the attachment section. What i am trying here is that i will include the imagemap file in my .phtml and then try to display the result as a tooltip.<BR>
<BR>
&nbsp; One line from imagemap file is given below<BR>
&nbsp; &lt;area href=&quot;java-script:SymbolClicked();&quot; shape=&quot;circle&quot; coords=&quot;201,150, 3&quot; /&gt;<BR>
&nbsp; <BR>
&nbsp; Everything is perfect in the above line but after coords =&quot;201 ..&quot; i should get the desired field from my .dbf file &amp; though all the template files imapheader.html, bodytemplate.html, imapfooter.html are there in the template section(i mentioned it in the mapfile also). Can you please point out the error for which i am not getting the desired result? Or the template files are not needed here as i am using the PHP/mapscript?<BR>
&nbsp; <BR>
&nbsp; Another question, Is that the coords in the imagemap file by which, i will extrct the information for my tooltip?<BR>
<BR>
<BR>
On Wed, 31 May 2006 Steve Lime wrote :<BR>
&gt;There is no image map in that output???<BR>
&gt;<BR>
&gt;Steve<BR>
&gt;<BR>
&gt; &gt;&gt;&gt; &quot;Pratap&quot; &lt;dwija_dey@rediffmail.com&gt; 5/26/2006 7:16:32 AM &gt;&gt;&gt;<BR>
&gt;<BR>
&gt;&nbsp; Hi<BR>
&gt;&nbsp; &nbsp; Steve<BR>
&gt;&nbsp; &nbsp; &nbsp;  I am sending the html result of the output of mapserver as a<BR>
&gt;attachement. Tnaks for reply &amp;<BR>
&gt;Thanks in advance.<BR>
&gt;With Regards<BR>
&gt;Pratap<BR>
&gt;<BR>
&gt;<BR>
&gt; &gt;&gt;&gt;It would be helpfull to see the output from MapServer in this &gt;&gt;case. Can<BR>
&gt; &gt;&gt;you post the HTML result (as an attachment) or send a link?<BR>
&gt;<BR>
&gt;Steve<BR>
&gt;<BR>
&gt; &gt;&gt;&gt; &quot;Pratap&quot; &lt;dwija_dey@rediffmail.com&gt; 05/25/06 8:07 AM &gt;&gt;&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;Hi<BR>
&gt;&nbsp;  List and Steve Lime<BR>
&gt;&nbsp; &nbsp;  Plz. donot ignore this message.<BR>
&gt;&nbsp; &nbsp; I have posted a message for a help in imagemap though, i have not<BR>
&gt;get any reply. I am trying to imulate the mouseover in browser/mapserver<BR>
&gt; from<BR>
&gt;http://mapserver.gis.umn.edu/docs/howto/imagemaps/?searchterm=imagemap<BR>
&gt;also i am keen to know from steve how to implement the mouseover that i<BR>
&gt;saw in Steve limes SHPXY example in<BR>
&gt;http://maps.dnr.state.mn.us/cgi-bin/mapserv48?map=/usr/local/www/docs_maps/eco/rsg/search/search_example.map&amp;qlayer=county&amp;mode=nquery&amp;searchmap=true<BR>
&gt;.<BR>
&gt;<BR>
&gt;&nbsp; My quries are given below(Specially to Steve for the example that he<BR>
&gt;has implemented). Hope this time i will get solutions from Steve/List.<BR>
&gt;Thanks in advance<BR>
&gt;With Regards.<BR>
&gt;Pratap<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;On Fri, 12 May 2006 Pratap wrote :<BR>
&gt; &gt;<BR>
&gt; &gt;Hi<BR>
&gt; &gt;I am trying to emulate imagemap with mapserver from the example given in http://mapserver.gis.umn.edu/docs/howto/imagemaps/?searchterm=imagemap<BR>
&gt; &gt;I am tring to display a field from my shapefile.dbf on mouseover tooltip using the functionality of the above URL. But neither i am getting any error nor tooltip/mouseover functionality.<BR>
&gt; &gt;<BR>
&gt; &gt;&nbsp;  My Mapfile for imagemap is:<BR>
&gt; &gt;&nbsp;  .........<BR>
&gt; &gt;&nbsp;  LAYER<BR>
&gt; &gt;&nbsp; &nbsp; &nbsp; NAME &quot;city&quot;<BR>
&gt; &gt;&nbsp; &nbsp; &nbsp; TYPE POINT<BR>
&gt; &gt;&nbsp; &nbsp; &nbsp; STATUS ON<BR>
&gt; &gt;&nbsp; &nbsp; &nbsp; DATA &quot;city&quot;<BR>
&gt; &gt;&nbsp; &nbsp; &nbsp; CLASSITEM &quot;name&quot;<BR>
&gt; &gt;&nbsp; &nbsp; &nbsp;  CLASS<BR>
&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  NAME &quot;CITY NAME&quot;<BR>
&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  EXPRESSION /A*/<BR>
&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  COLOR 255 0 0<BR>
&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  OUTLINECOLOR 255 0 0<BR>
&gt; &gt;&nbsp; &nbsp; &nbsp;  END<BR>
&gt; &gt;&nbsp; &nbsp; &nbsp;  TEMPLATE &quot;bodytemplate.html&quot;<BR>
&gt; &gt;&nbsp; &nbsp; &nbsp;  HEADER &quot;imapheader.html&quot;<BR>
&gt; &gt;&nbsp; &nbsp; &nbsp;  FOOTER &quot;imapfooter.html&quot;<BR>
&gt; &gt;&nbsp;  END<BR>
&gt; &gt;............<BR>
&gt; &gt;<BR>
&gt; &gt;The content of template file bodytemplate.html is.<BR>
&gt; &gt;&lt;area shape=&quot;circle&quot; coords=&quot;[shpxy precision=0 proj=image yf=&quot;,4&quot; xf=&quot;,&quot;]&quot; href=&quot;http://my.url/mypage.cfm?region=[name]&quot; title=&quot;[name]&quot; alt=&quot;[name]&quot;&gt;<BR>
&gt; &gt;<BR>
&gt; &gt;Q.1)What will be the exact value of href above?<BR>
&gt; &gt;<BR>
&gt; &gt;The content of template file imapheader.html is.<BR>
&gt; &gt;&lt;map id=&quot;mymap&quot; name=&quot;mymap&quot;&gt;<BR>
&gt; &gt;<BR>
&gt; &gt;Q.2)What will be the value of id and name above?<BR>
&gt; &gt;<BR>
&gt; &gt;The content of template file imapheader.html is.<BR>
&gt; &gt;&lt;/map&gt;<BR>
&gt; &gt;<BR>
&gt; &gt;I am also passing layer=city mode=nquery and searchmap=true from my .phtml file to mapserver<BR>
&gt; &gt;<BR>
&gt; &gt;Q.3) I am not using separate imagemap mapfile. Whether it is needed? what will be its contents, where i should<BR>
&gt; &gt;place it ? and i am using Gmap's PHP/Mapscript engine.<BR>
&gt; &gt;<BR>
&gt; &gt;Can anyone please tell me where is the problem? Also any info on this topic will highly appreciated.<BR>
&gt; &gt;Thanks in advance for any help.<BR>
&gt; &gt;With regards.<BR>
&gt; &gt;Pratap<BR>

</P>
<br><br>
<a href="http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3"><IMG SRC="http://adworks.rediff.com/cgi-bin/AdWorks/sigimpress.cgi/www.rediff.com/signature-home.htm/1963059423@Middle5?OAS_query=null&PARTNER=3" BORDER=0 VSPACE=0 HSPACE=0></a>