|
Posted by Mike on 04/22/05 16:16
> 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
[Back to original message]
|