[Mapserver-users] PHP/MapScript question: How to return values when map is clicked?

Palle Due Larsen palle at mail-online.dk
Fri Sep 12 08:09:28 EDT 2003


Are you sure you want to use mapscript for this? If you were using the
CGI mapserver, it would be as easy as adding a TEMPLATE for your layer.

Best regards

Palle Due Larsen
Carl Bro GIS&IT

-----Original Message-----
From: har mar <shaz_bot42 at yahoo.com>
To: mapserver-users at lists.gis.umn.edu
Date: Thu, 11 Sep 2003 13:05:26 -0700 (PDT)
Subject: [Mapserver-users] PHP/MapScript question: How to return values
when map is clicked?

> 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

Få en gratis emailkonto her: www.mail-online.dk 
-----------------------------------------------
Deltag i en lille konkurrence på nettet, og
vind et gavekort på 50.000 kroner...
KLIK HER: www.directoffice.dk/konkurrence





More information about the mapserver-users mailing list