Jump to content

PHP programming help - dots on maps


dreamteam

Recommended Posts

New to php,

I have few maps of regional areas, I sliced up the images and it has  versions with green dots and  versions with red dots saved for some of the cities.  I need to display either the green dot or a red dot depending on the value in a database.  what would be the best way to do this.

 

I was thinking about doing a sql statement for each regional map  and then doing a while loop to display the green or red image depending on the value, but then I thought about this and I don't think it would work since it would display the entire map over and over again with the different values until the loop ended.

 

Is their a way to create a transparent gif and overlay it on the map depending on x and y values, like a image map hot spot?

 

Anyone have any other better ideas on how to program this?

 

Thank you.

Link to comment
https://forums.phpfreaks.com/topic/102137-php-programming-help-dots-on-maps/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.