Re: image maps in PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx] Sent: 22 April 2005 14:16
To: php-general@xxxxxxxxxxxxx
Subject: RE: 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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux