"Sed" <[EMAIL PROTECTED]> wrote in message 009301c10a46$3db4eba0$0100a8c0@mamma">news:009301c10a46$3db4eba0$0100a8c0@mamma... > 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. http://www.google.com/search?sourceid=navclient&q=point+inside+polygon #1 match is http://www.dfanning.com/tips/point_in_polygon.html -- Lasse -- 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]