I am trying to build an application that will use an Api like google maps api (or any other api for maps) in order to color the states depending on some information that change. So for example, let's say I am going to color states green if they have more than 5 people online and this information will change every minute, how can i use some maps api in order to color the states using javascript, php, and other web development languages but not flash?
If you need more explanation please let me know and i will edit the post to include more information.
This is (NOT) a homework question so please provide as much information and code as possible.
Thanks!