bezierstek
Programmer
Hi all,
I am currently developing a property rental portal and as part of this my client wants to have country pages with a map which will have an image map lain over it. I only want to have the areas that have properties registered in in them to display the image map. I think I am right in thinking that I should be able to read from the database when there is a property in the area and use conditional statements to decide whether to display the maps or not.
Is this right or can anyone think of an easier way to do this?
Also related to this, as there are a large amount of countries/regions etc. I don't suppose anyone knows of an easy way to generate the maps rather than defining them all manually (a long shot I know).
To see the type of thing I mean, have a look at which should give you an idea of exactly what I am wanting to achieve.
Thanks,
Rich
I am currently developing a property rental portal and as part of this my client wants to have country pages with a map which will have an image map lain over it. I only want to have the areas that have properties registered in in them to display the image map. I think I am right in thinking that I should be able to read from the database when there is a property in the area and use conditional statements to decide whether to display the maps or not.
Is this right or can anyone think of an easier way to do this?
Also related to this, as there are a large amount of countries/regions etc. I don't suppose anyone knows of an easy way to generate the maps rather than defining them all manually (a long shot I know).
To see the type of thing I mean, have a look at which should give you an idea of exactly what I am wanting to achieve.
Thanks,
Rich