lichtjiang
Programmer
I want to display a outline state map in web browser. Each state is going to be filled out with a color, which indicates some property of the state, such as temperature or population, etc. So, the map varies in color from time to time with changing property values.
I wanted to use javascript to first display a blank outline state map and then call some functions to fill color for each state from its center point. I got some help to do this by using GD-lib on server side. I am not familiar in either method. So, how to display a picture first and then fill it with some color in javascript and is this efficient? And any experience on GD-lib? Could anyone give me some hints?
Thanks!
I wanted to use javascript to first display a blank outline state map and then call some functions to fill color for each state from its center point. I got some help to do this by using GD-lib on server side. I am not familiar in either method. So, how to display a picture first and then fill it with some color in javascript and is this efficient? And any experience on GD-lib? Could anyone give me some hints?
Thanks!