dreamteam Posted April 21, 2008 Share Posted April 21, 2008 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 More sharing options...
monkeypaw201 Posted April 21, 2008 Share Posted April 21, 2008 you could take the blank regional maps and generate a dynamic image based on the database value Link to comment https://forums.phpfreaks.com/topic/102137-php-programming-help-dots-on-maps/#findComment-522808 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.