On Thu, 12 Jul 2001 05:45, SED wrote:
> I'm making a map (image) which you can click on and the script finds
> the area-code based on where you click on the map.
>
> Before I spend time on writing my own code to find if xy values are
> within a certain coordinates of a polygon, do you know of any build in
> function to do it? I have browsed lightly through the PHP-manual but
> not found any.
>
> Thanks,
>
> SED

If you use the image as a submit button (<INPUT TYPE=image NAME=map 
SOURCE="whatever.gif"> then you can read the x and y co-ords of the mouse 
as $map_x and $map_y

-- 
David Robley      Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES      Flinders University, SOUTH AUSTRALIA  

   NEWS! Survivor of siamese twins joins parents

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to