<P>
<BR>
Hi<BR>
I am trying to emulate imagemap with mapserver from the example given in http://mapserver.gis.umn.edu/docs/howto/imagemaps/?searchterm=imagemap <BR>
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>
<BR>
My Mapfile for imagemap is:<BR>
.........<BR>
LAYER<BR>
NAME "city"<BR>
TYPE POINT<BR>
STATUS ON<BR>
DATA "city"<BR>
CLASSITEM "name"<BR>
CLASS<BR>
NAME "CITY NAME"<BR>
EXPRESSION /A*/ <BR>
COLOR 255 0 0<BR>
OUTLINECOLOR 255 0 0<BR>
END<BR>
TEMPLATE "bodytemplate.html"<BR>
HEADER "imapheader.html"<BR>
FOOTER "imapfooter.html"<BR>
END<BR>
............<BR>
<BR>
The content of template file bodytemplate.html is.<BR>
<area shape="circle" coords="[shpxy precision=0 proj=image yf=",4" xf=","]" href="http://my.url/mypage.cfm?region=[name]" title="[name]" alt="[name]"><BR>
<BR>
Q.1)What will be the exact value of href above?<BR>
<BR>
The content of template file imapheader.html is.<BR>
<map id="mymap" name="mymap"><BR>
<BR>
Q.2)What will be the value of id and name above?<BR>
<BR>
The content of template file imapheader.html is.<BR>
</map><BR>
<BR>
I am also passing layer=city mode=nquery and searchmap=true from my .phtml file to mapserver<BR>
<BR>
Q.3) I am not using separate imagemap mapfile. Whether it is needed? what will be its contents, where i should<BR>
place it ? and i am using Gmap's PHP/Mapscript engine.<BR>
<BR>
Can anyone please tell me where is the problem? Also any info on this topic will highly appreciated.<BR>
Thanks in advance for any help.<BR>
With regards. <BR>
Pratap
</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>