Hi,
I use a combination of server code and Javascript. 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. 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. 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. To display the tooltip I use js_graphics (http://www.walterzorn.com/) library of tools which I find fantastic. Cheers, Simon On Wed, 20 May 2009 01:54:23 -0700, Mukul Gupta wrote: Hi, 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. Regards Mukul Cheers, SIMON
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
