<p>Hi,</p>
<p>I use a combination of server code and Javascript.</p>
<p>I convert the lat long values to a javascript array which is loaded into a 2 dimensional array. This data is then loaded with the map which is quick if your polygons are not too complicated.</p>
<p>I then have a mouse over ont he map which checks as the mouse moves to see if is within the polygon. Since I am already creating lat/long values from the mouse over I just need to do a simple point in polygon check and I am there.</p>
<p>The other way I have thought is to create a html map using the polygon values that come back but I haven't done that.</p>
<p>To display the tooltip I use js_graphics (http://www.walterzorn.com/) library of tools which I find fantastic.</p>
<p>Cheers,</p>
<p>Simon</p>
<p>On Wed, 20 May 2009 01:54:23 -0700, Mukul Gupta &lt;bestofmukul@gmail.com&gt; wrote:</p>
<blockquote style="border-left: 2px solid #1010ff; padding-left: 5px; margin-left: 5px; width: 100%;"><!-- html ignored --><!-- head ignored --><!-- meta not allowed -->
<p>Hi,<br />I want to display a tool tip for the polygons in my application for which I need lat-long values of polygon. Please tell me how to retrieve the values from geometry type field of postgre or If there is any other way of doing this.<br /><br />Regards<br />Mukul</p>
</blockquote>
<p>&nbsp;</p>
<div>
<p>Cheers,<br /><strong><span style="color: #0000ff;">Simon</span></strong></p>
</div>