[Mapserver-users] PHP/MapScript question: How to return values when map is clicked?
har mar
shaz_bot42 at yahoo.com
Thu Sep 11 13:05:26 PDT 2003
--0-1484845686-1063310726=:91993
Content-Type: text/plain; charset=us-ascii
Hello,
I am displaying a shapefile that contains states as a GIF. I am not using javascript at all. When the user clicks on the map, I want to return the name of the state that was clicked, and some other information that is in the dbf file. How do I do this? I can get the x,y coords by having the GIF set as an input type. I assume I will have to convert them to georef coords. But I am unsure of what 'function' to use to get those results. Any help would be greatly appreciated.
Cheers
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
--0-1484845686-1063310726=:91993
Content-Type: text/html; charset=us-ascii
<DIV>Hello,</DIV>
<DIV> </DIV>
<DIV>I am displaying a shapefile that contains states as a GIF. I am not using javascript at all. When the user clicks on the map, I want to return the name of the state that was clicked, and some other information that is in the dbf file. How do I do this? I can get the x,y coords by having the GIF set as an input type. I assume I will have to convert them to georef coords. But I am unsure of what 'function' to use to get those results. Any help would be greatly appreciated. </DIV>
<DIV> </DIV>
<DIV>Cheers</DIV>
<DIV> </DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com">Yahoo! SiteBuilder</a> - Free, easy-to-use web site design software
--0-1484845686-1063310726=:91993--
More information about the MapServer-users
mailing list