Re: image maps in PHP

From: Date: Fri, 22 Apr 2005 13:34:05 +0000
Subject: Re: image maps in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-213649@lists.php.net to get a copy of this message
Mark Rees wrote:
Yes, I once did this for all the states in Brazil. It took me a few hours to trace the states, but it looked beautiful when it was finished. This will already have been done for the states many times - you could probably borrow someone else's work and scale it up or down a bit if it doesn't fit. Mark -----Original Message----- From: Mike [mailto:php@crazyted.com] Sent: 22 April 2005 14:16 To: php-general@lists.php.net Subject: RE: [PHP] image maps in PHP
Hi! I need to create an image map on a country map, where people can click on any state and get some info related to it.. In such case the regular polygon/circle/rectengle image map wont do bcoz of shapes of state.. I guess this must be possible someway in PHP.. please tell me if you have any idea how to go abt this..
Is the problem you're experiencing that the image map isn't being built properly or are you passing information to it that does not appear to be consistant. If it's the former, then PHP has nothing to do with that. I'm sure you can find some tools to generate image maps for you. There have always been free ones with a minimum of effort. If you're having problem with PHP in the mix, can you describe the PHP problem, provide some code, some sample output, etc.? I've used image maps in the past (though I try to stay away from them) and you can create a link with virtually any polygon if you have the patience to may out the plot points. You could easily create a star with many, many points and have it be clickable - which would indicate that most states would be a piece of cake. -M
Thanks.. actually I found some maps for US states with image map done.. but I am looking for a map of India.. and still havent find any - Free Website Promotion - A Complete Guide http://hostwindow.info/web-hosting/9/free-website-promotion/1/

« previous php.general (#213649) next »