<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.ecxmsonormal, li.ecxmsonormal, div.ecxmsonormal
        {mso-style-name:ecxmsonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ecxecxmsonormal, li.ecxecxmsonormal, div.ecxecxmsonormal
        {mso-style-name:ecxecxmsonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ecxecxmsochpdefault, li.ecxecxmsochpdefault, div.ecxecxmsochpdefault
        {mso-style-name:ecxecxmsochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ecxecxmsonormal1, li.ecxecxmsonormal1, div.ecxecxmsonormal1
        {mso-style-name:ecxecxmsonormal1;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ecxecxmsochpdefault1, li.ecxecxmsochpdefault1, div.ecxecxmsochpdefault1
        {mso-style-name:ecxecxmsochpdefault1;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ecxmsochpdefault, li.ecxmsochpdefault, div.ecxmsochpdefault
        {mso-style-name:ecxmsochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.ecxmsohyperlink
        {mso-style-name:ecxmsohyperlink;}
span.ecxmsohyperlinkfollowed
        {mso-style-name:ecxmsohyperlinkfollowed;}
span.ecxecxmsohyperlink1
        {mso-style-name:ecxecxmsohyperlink1;}
span.ecxecxmsohyperlinkfollowed1
        {mso-style-name:ecxecxmsohyperlinkfollowed1;}
span.ecxecxemailstyle181
        {mso-style-name:ecxecxemailstyle181;}
span.ecxemailstyle28
        {mso-style-name:ecxemailstyle28;}
p.ecxmsonormal1, li.ecxmsonormal1, div.ecxmsonormal1
        {mso-style-name:ecxmsonormal1;
        mso-margin-top-alt:auto;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.ecxmsohyperlink1
        {mso-style-name:ecxmsohyperlink1;
        color:blue;
        text-decoration:underline;}
span.ecxmsohyperlinkfollowed1
        {mso-style-name:ecxmsohyperlinkfollowed1;
        color:purple;
        text-decoration:underline;}
p.ecxecxmsonormal2, li.ecxecxmsonormal2, div.ecxecxmsonormal2
        {mso-style-name:ecxecxmsonormal2;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ecxecxmsochpdefault2, li.ecxecxmsochpdefault2, div.ecxecxmsochpdefault2
        {mso-style-name:ecxecxmsochpdefault2;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ecxecxmsonormal11, li.ecxecxmsonormal11, div.ecxecxmsonormal11
        {mso-style-name:ecxecxmsonormal11;
        mso-margin-top-alt:auto;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.ecxecxmsohyperlink11
        {mso-style-name:ecxecxmsohyperlink11;
        color:blue;
        text-decoration:underline;}
span.ecxecxmsohyperlinkfollowed11
        {mso-style-name:ecxecxmsohyperlinkfollowed11;
        color:purple;
        text-decoration:underline;}
span.ecxecxemailstyle1811
        {mso-style-name:ecxecxemailstyle1811;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
p.ecxecxmsochpdefault11, li.ecxecxmsochpdefault11, div.ecxecxmsochpdefault11
        {mso-style-name:ecxecxmsochpdefault11;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.ecxemailstyle281
        {mso-style-name:ecxemailstyle281;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
p.ecxmsochpdefault1, li.ecxmsochpdefault1, div.ecxmsochpdefault1
        {mso-style-name:ecxmsochpdefault1;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle42
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Franz<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>OpenLayers refers to X/Y as lon/lat regardless of the projection the data is in.&nbsp; I saw in some recent posts that this is going to change in OL 3.0, but for now the script is correct with feature.lon and feature.lat.&nbsp; You can confirm this by watching the GET in firebug.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Len<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> FRANZ OKYERE [mailto:franzzoa@hotmail.com] <br><b>Sent:</b> Friday, June 25, 2010 4:03 AM<br><b>To:</b> Geomooselist<br><b>Subject:</b> Re: [Geomoose-users] Mouseover map area to show pop up or link- Point Data<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Hi all,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p>&nbsp;</o:p></span></p></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>I am working locally for now so&nbsp;'http://localhost/geomoose2/php/identify2.php?', should be fine Nayate. But&nbsp;I have also realised that the problem has everything to do with my projection and this part of the hover code that saids-&nbsp;<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p>&nbsp;</o:p></span></p></div><div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>params:&nbsp;<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>{'shape': 'POINT(' + feature.lon + ' ' + feature.lat + ')',<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>My point data is based on EPSG:32630 which is utm based. I am saying so because when I change the .lon .lat to .x .y the pop up shows up but gives an error that saids-<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Fatal error</span></b><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>: [MapServer Error]: msGEOSShapeFromWKT(): Error reading WKT geometry &quot;POINT(undefined undefined)&quot;. in <b>C:\ms4w\apps\cheese\htdocs\php\identify2.php</b> on line <b>83</b><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p>&nbsp;</o:p></span></p></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Franz<o:p></o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><hr size=2 width="100%" align=center id=stopSpelling></span></div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>From: nayna.nayate@gis.leg.mn<br>To: franzzoa@hotmail.com; geomoose-users@lists.sourceforge.net<br>Date: Thu, 24 Jun 2010 14:30:28 -0500<br>Subject: RE: [Geomoose-users] Mouseover map area to show pop up or link- Point Data<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I had an issue that maybe somewhat related. The problem was the hover worked on my PC but not on anyone else&#8217;s PC. The problem was the identify.php in the Hover code.</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;My computer accepted the url as <a href="http://gis....../php/identify.php">http://gis....../php/identify.php</a>. Everyone else&#8217;s computer required a <a href="http://www.gis...../php/identify.php">http://www.gis...../php/identify.php</a>. The website url also needed to be <a href="http://www">http://www</a> for the pop-up to show. Instead of just <a href="http://">http://</a>. I think it was something to do with a DNS.</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Not sure if that&#8217;ll helps but that was the issue I had. </span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If the hover works on polygons, maybe you can buffer the point layer as a workaround.&nbsp; Hope that helps.</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> FRANZ OKYERE [mailto:franzzoa@hotmail.com] <br><b>Sent:</b> 24 June 2010 09:42<br><b>To:</b> Geomooselist<br><b>Subject:</b> Re: [Geomoose-users] Mouseover map area to show pop up or link- Point Data</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></div></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Yes Len, the error is gone from the error console when I was consistent with the root. But the popup still does not show up when I hover over the point locations. I will assume there is no problem with using identify tool on points and keep looking for any mistakes and&nbsp;omissions (if there is could someone tell me what the workaround is). Cheers.<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Franz<o:p></o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><hr size=2 width="100%" align=center></span></div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>From: lkne@houstoneng.com<br>To: franzzoa@hotmail.com; geomoose-users@lists.sourceforge.net<br>Subject: RE: [Geomoose-users] Mouseover map area to show pop up or link- Point Data<br>Date: Thu, 24 Jun 2010 13:49:10 +0000<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Seems like it could be a proxy issue.&nbsp; I notice that the URL refers to &#8220;franzy-pc&#8221;, which is probably your localhost.&nbsp; Even though frenzy-pc and localhost are the same computer, they are seen as two different sources.&nbsp; Can you try changing your URL or matching everything up in the map-source and hover script?</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Len</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> FRANZ OKYERE [mailto:franzzoa@hotmail.com] <br><b>Sent:</b> Wednesday, June 23, 2010 1:51 PM<br><b>To:</b> Geomooselist<br><b>Subject:</b> Re: [Geomoose-users] Mouseover map area to show pop up or link- Point Data</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></div></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>I have set tolerance to a larger pixel value (10) just to make sure. I get the following error in mozilla's error console anytime I hover over the point locations.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Error: uncaught exception: [Exception... &quot;Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]&quot; &nbsp;nsresult: &quot;0x80004005 (NS_ERROR_FAILURE)&quot; &nbsp;location: &quot;JS frame :: <a href="http://franzy-pc/geomoose2/OpenLayers-2.8/OpenLayers.js">http://franzy-pc/geomoose2/OpenLayers-2.8/OpenLayers.js</a> :: anonymous :: line 1081&quot; &nbsp;data: no]<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><br>&gt; From: <a href="mailto:lkne@houstoneng.com">lkne@houstoneng.com</a><br>&gt; To: <a href="mailto:franzzoa@hotmail.com">franzzoa@hotmail.com</a>; <a href="mailto:geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</a><br>&gt; Subject: RE: [Geomoose-users] Mouseover map area to show pop up or link<br>&gt; Date: Wed, 23 Jun 2010 13:43:05 +0000<br>&gt; <br>&gt; Hi Franz<br>&gt; <br>&gt; Do you have TOLERANCE set in your map file for the point layer? Also, the newer version of MapServer requires the template to have the first line be:<br>&gt; <br>&gt; &lt;!-- MapServer Template --&gt;<br>&gt; <br>&gt; Let us know if this helps.<br>&gt; <br>&gt; Len<br>&gt; <br>&gt; -----Original Message-----<br>&gt; From: <a href="mailto:franzzoa@hotmail.com">franzzoa@hotmail.com</a> <a href="mailto:[mailto:franzzoa@hotmail.com]">[mailto:franzzoa@hotmail.com]</a> <br>&gt; Sent: Wednesday, June 23, 2010 3:19 AM<br>&gt; To: Geomooselist<br>&gt; Subject: Re: [Geomoose-users] Mouseover map area to show pop up or link<br>&gt; <br>&gt; Hi all,<br>&gt; <br>&gt; I have succeeded in implementing your code on a polygon data set but with point data I think there is probably an issue. There seem to be a fundamental problem that I am not aware of. I have checked and rechecked the templates, the mapfile and as for the code its the same. There is something probably funny with the querybypoint as opposed to querybyshape? Any idea Len (its kinda your brain child?)?<br>&gt; <br>&gt; Franz<br>&gt; <br>&gt; <br>&gt; --------------------------------------------------<br>&gt; From: &quot;Len Kne&quot; &lt;<a href="mailto:lkne@houstoneng.com">lkne@houstoneng.com</a>&gt;<br>&gt; Sent: Thursday, June 03, 2010 4:40 PM<br>&gt; To: &quot;'Brent Fraser'&quot; &lt;<a href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</a>&gt;<br>&gt; Cc: &quot;Geomooselist&quot; &lt;<a href="mailto:geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</a>&gt;<br>&gt; Subject: Re: [Geomoose-users] Mouseover map area to show pop up or link<br>&gt; <br>&gt; &gt; Performance seems ok, you can try it at <br>&gt; &gt; <a href="http://dev.houstoneng.net/geomoose.html">http://dev.houstoneng.net/geomoose.html</a>. Hover over a parcel for 1 <br>&gt; &gt; second and you should get a popup. It's different than passing over a <br>&gt; &gt; marker in OL because the handler is triggered after a pause in mouse movement vs.<br>&gt; &gt; going over the marker. The downside is there will be a lot of calls <br>&gt; &gt; back to the server (could be an issue on a high use app) and in the <br>&gt; &gt; case of parcels, the number of popups could get annoying to the person <br>&gt; &gt; looking at the map. Might work better with point data.<br>&gt; &gt;<br>&gt; &gt; Len<br>&gt; &gt;<br>&gt; &gt; -----Original Message-----<br>&gt; &gt; From: Brent Fraser <a href="mailto:[mailto:bfraser@geoanalytic.com]">[mailto:bfraser@geoanalytic.com]</a><br>&gt; &gt; Sent: Thursday, June 03, 2010 10:05 AM<br>&gt; &gt; To: Len Kne<br>&gt; &gt; Cc: Geomooselist<br>&gt; &gt; Subject: Re: [Geomoose-users] Mouseover map area to show pop up or <br>&gt; &gt; link<br>&gt; &gt;<br>&gt; &gt; Len,<br>&gt; &gt;<br>&gt; &gt; That's impressive! How's the performance?<br>&gt; &gt;<br>&gt; &gt; Brent<br>&gt; &gt;<br>&gt; &gt; Len Kne wrote:<br>&gt; &gt;&gt; One way would be to use OL Hover handler - see <br>&gt; &gt;&gt; <a href="http://openlayers.org/dev/examples/hover-handler.html">http://openlayers.org/dev/examples/hover-handler.html</a>. Basically it <br>&gt; &gt;&gt; is going to make an ajax call to the identify service when the cursor <br>&gt; &gt;&gt; hovers over a spot for a set time. The script below works in my <br>&gt; &gt;&gt; testing environment... it could be enabled as a tool or in <br>&gt; &gt;&gt; onLoadedMapbook().<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Len<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; // Hover support on WMS and MapServr layers<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; var popup;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; OpenLayers.Control.Hover = <br>&gt; &gt;&gt; OpenLayers.Class(OpenLayers.Control, {<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; defaultHandlerOptions: {<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; 'delay': 500,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; 'pixelTolerance': 20,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; 'stopMove': false<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; },<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; initialize: function(options) {<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; this.handlerOptions = OpenLayers.Util.extend(<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; {}, this.defaultHandlerOptions<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; );<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; OpenLayers.Control.prototype.initialize.apply(<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; this, arguments<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; );<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; this.handler = new OpenLayers.Handler.Hover(<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; this,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; {'pause': this.onPause, 'move': this.onMove},<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; this.handlerOptions<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; );<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; },<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; onPause: function(evt) {<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; var feature = <br>&gt; &gt;&gt; Map.getLonLatFromPixel(evt.xy);<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; var url = <br>&gt; &gt;&gt; '/php/identify.php?';<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; var layersArray = <br>&gt; &gt;&gt; GeoMOOSE.getVisibleLayers();<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; layers = <br>&gt; &gt;&gt; layersArray.join(':');<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; var requestOptions = <br>&gt; &gt;&gt; OpenLayers.Request.GET({<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; url:<br>&gt; &gt;&gt; url,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; params:<br>&gt; &gt;&gt; {'shape': 'POINT(' + feature.lon + ' ' + feature.lat + ')',<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; 'layers': layers,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; '_moosetime': (new Date()).getTime() },<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; async:<br>&gt; &gt;&gt; false<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; });<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; if(requestOptions.responseText) {<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; popup <br>&gt; &gt;&gt; = new OpenLayers.Popup.FramedCloud(&quot;wms&quot;,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Map.getLonLatFromPixel(evt.xy),<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; null,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; requestOptions.responseText,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; null, false);<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Map.addPopup(popup);<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; }<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; },<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; onMove: function(evt) {<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; if (popup != null) {<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; popup.destroy();<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; popup = null;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; }<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; // if this control sent an Ajax request (e.g.<br>&gt; &gt;&gt; GetFeatureInfo) when<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; // the mouse pauses the onMove callback could be <br>&gt; &gt;&gt; used to abort that<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; // request.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; }<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; });<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; hover = new OpenLayers.Control.Hover();<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Map.addControl(hover);<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; hover.activate();<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; *From:* FRANZ OKYERE <a href="mailto:[mailto:franzzoa@hotmail.com]">[mailto:franzzoa@hotmail.com]</a><br>&gt; &gt;&gt; *Sent:* Wednesday, June 02, 2010 4:28 PM<br>&gt; &gt;&gt; *To:* Geomooselist<br>&gt; &gt;&gt; *Subject:* Re: [Geomoose-users] Mouseover map area to show pop up or <br>&gt; &gt;&gt; link<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Thanks,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; But is geomoose not based on open layers? If it is then what we can <br>&gt; &gt;&gt; do in open layers should be possible in geomoose, right? I really <br>&gt; &gt;&gt; need to do this so if you can point me in the right direction and <br>&gt; &gt;&gt; show me which of the javascript files I should be editing that would be nice.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Franz<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; ---------------------------------------------------------------------<br>&gt; &gt;&gt; -<br>&gt; &gt;&gt; --<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Date: Wed, 2 Jun 2010 14:29:24 -0500<br>&gt; &gt;&gt; From: <a href="mailto:Bob.Basques@ci.stpaul.mn.us">Bob.Basques@ci.stpaul.mn.us</a> <br>&gt; &gt;&gt; &lt;<a href="mailto:Bob.Basques@ci.stpaul.mn.us">mailto:Bob.Basques@ci.stpaul.mn.us</a>&gt;<br>&gt; &gt;&gt; To: <a href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</a> &lt;<a href="mailto:bfraser@geoanalytic.com">mailto:bfraser@geoanalytic.com</a>&gt;; <br>&gt; &gt;&gt; <a href="mailto:franzzoa@hotmail.com">franzzoa@hotmail.com</a> &lt;<a href="mailto:franzzoa@hotmail.com">mailto:franzzoa@hotmail.com</a>&gt;<br>&gt; &gt;&gt; CC: <a href="mailto:geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</a><br>&gt; &gt;&gt; &lt;<a href="mailto:geomoose-users@lists.sourceforge.net">mailto:geomoose-users@lists.sourceforge.net</a>&gt;<br>&gt; &gt;&gt; Subject: Re: [Geomoose-users] Mouseover map area to show pop up or <br>&gt; &gt;&gt; link<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; All,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Not on the feature(s), but the layer name/metadata icon in the side menu.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; bobb<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;&gt; &gt;&gt; Brent Fraser &lt;<a href="mailto:bfraser@geoanalytic.com%0b">bfraser@geoanalytic.com<br></a>&gt; &gt;&gt; &lt;<a href="mailto:bfraser@geoanalytic.com">mailto:bfraser@geoanalytic.com</a>&gt;&gt; wrote:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; You mean by simply moving the cursor over the feature but not <br>&gt; &gt;&gt; clicking it?<br>&gt; &gt;&gt; Geomoose no (as far as I know). OpenLayers has a hover handler so we <br>&gt; &gt;&gt; might be able to use that...<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Brent Fraser<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; FRANZ OKYERE wrote:<br>&gt; &gt;&gt;&gt; Hello all,<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; I am using geomoose 2.2 and wish to do what google maps or bing <br>&gt; &gt;&gt;&gt; maps are able to do- i.e. mouseover a location on the map and then <br>&gt; &gt;&gt;&gt; get the popup showing up. Any ideas? Is such a thing possible at <br>&gt; &gt;&gt;&gt; all in geomoose?<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Cheers.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Franz<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; GIS Specialist, Ghana.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; --------------------------------------------------------------------<br>&gt; &gt;&gt;&gt; -<br>&gt; &gt;&gt;&gt; --- Get a free e-mail account with Hotmail. Sign-up now.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; --------------------------------------------------------------------<br>&gt; &gt;&gt;&gt; -<br>&gt; &gt;&gt;&gt; ---<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; ---------------------------------------------------------------------<br>&gt; &gt;&gt; -<br>&gt; &gt;&gt; --------<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; --------------------------------------------------------------------<br>&gt; &gt;&gt;&gt; -<br>&gt; &gt;&gt;&gt; ---<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; _______________________________________________<br>&gt; &gt;&gt;&gt; Geomoose-users mailing list<br>&gt; &gt;&gt;&gt; <a href="mailto:Geomoose-users@lists.sourceforge.net">Geomoose-users@lists.sourceforge.net</a><br>&gt; &gt;&gt; &lt;<a href="mailto:Geomoose-users@lists.sourceforge.net">mailto:Geomoose-users@lists.sourceforge.net</a>&gt;<br>&gt; &gt;&gt;&gt; <a href="https://lists.sourceforge.net/lists/listinfo/geomoose-users">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a><br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; ---------------------------------------------------------------------<br>&gt; &gt;&gt; -<br>&gt; &gt;&gt; -------- ThinkGeek and WIRED's GeekDad team up for the Ultimate <br>&gt; &gt;&gt; GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky <br>&gt; &gt;&gt; parental unit. See the prize list and enter to win:<br>&gt; &gt;&gt; <a href="http://p.sf.net/sfu/thinkgeek-promo">http://p.sf.net/sfu/thinkgeek-promo</a><br>&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;&gt; Geomoose-users mailing list<br>&gt; &gt;&gt; <a href="mailto:Geomoose-users@lists.sourceforge.net">Geomoose-users@lists.sourceforge.net</a><br>&gt; &gt;&gt; &lt;<a href="mailto:Geomoose-users@lists.sourceforge.net">mailto:Geomoose-users@lists.sourceforge.net</a>&gt;<br>&gt; &gt;&gt; <a href="https://lists.sourceforge.net/lists/listinfo/geomoose-users">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a><br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; ---------------------------------------------------------------------<br>&gt; &gt;&gt; -<br>&gt; &gt;&gt; --<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Get a new e-mail account with Hotmail - Free. Sign-up now.<br>&gt; &gt;&gt; &lt;<a href="http://clk.atdmt.com/UKM/go/197222280/direct/01/">http://clk.atdmt.com/UKM/go/197222280/direct/01/</a>&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; ---------------------------------------------------------------------<br>&gt; &gt;&gt; -<br>&gt; &gt;&gt; --<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; ---------------------------------------------------------------------<br>&gt; &gt;&gt; -<br>&gt; &gt;&gt; -------- ThinkGeek and WIRED's GeekDad team up for the Ultimate <br>&gt; &gt;&gt; GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky <br>&gt; &gt;&gt; parental unit. See the prize list and enter to win:<br>&gt; &gt;&gt; <a href="http://p.sf.net/sfu/thinkgeek-promo">http://p.sf.net/sfu/thinkgeek-promo</a><br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; ---------------------------------------------------------------------<br>&gt; &gt;&gt; -<br>&gt; &gt;&gt; --<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;&gt; Geomoose-users mailing list<br>&gt; &gt;&gt; <a href="mailto:Geomoose-users@lists.sourceforge.net">Geomoose-users@lists.sourceforge.net</a><br>&gt; &gt;&gt; <a href="https://lists.sourceforge.net/lists/listinfo/geomoose-users">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; ----------------------------------------------------------------------<br>&gt; &gt; -------- ThinkGeek and WIRED's GeekDad team up for the Ultimate <br>&gt; &gt; GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental <br>&gt; &gt; unit. See the prize list and enter to win:<br>&gt; &gt; <a href="http://p.sf.net/sfu/thinkgeek-promo">http://p.sf.net/sfu/thinkgeek-promo</a><br>&gt; &gt; _______________________________________________<br>&gt; &gt; Geomoose-users mailing list<br>&gt; &gt; <a href="mailto:Geomoose-users@lists.sourceforge.net">Geomoose-users@lists.sourceforge.net</a><br>&gt; &gt; <a href="https://lists.sourceforge.net/lists/listinfo/geomoose-users">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a><br>&gt; &gt; <br>&gt; <br>&gt; ------------------------------------------------------------------------------<br>&gt; ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: <br>&gt; <a href="http://p.sf.net/sfu/thinkgeek-promo">http://p.sf.net/sfu/thinkgeek-promo</a><br>&gt; _______________________________________________<br>&gt; Geomoose-users mailing list<br>&gt; <a href="mailto:Geomoose-users@lists.sourceforge.net">Geomoose-users@lists.sourceforge.net</a><br>&gt; <a href="https://lists.sourceforge.net/lists/listinfo/geomoose-users">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a><o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><hr size=2 width="100%" align=center></span></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Get a new e-mail account with Hotmail - Free. <a href="http://clk.atdmt.com/UKM/go/197222280/direct/01/">Sign-up now.</a><o:p></o:p></span></p></div></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><hr size=2 width="100%" align=center></span></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Get a free e-mail account with Hotmail. <a href="http://clk.atdmt.com/UKM/go/197222280/direct/01/">Sign-up now.</a><o:p></o:p></span></p></div></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p>&nbsp;</o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><hr size=2 width="100%" align=center></span></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Get a new e-mail account with Hotmail &#8211; Free. <a href="http://clk.atdmt.com/UKM/go/197222280/direct/01/" target="_new">Sign-up now.</a><o:p></o:p></span></p></div></body></html>