How to color a specific region on imagemap
-
I need some guidance on a scenario - Let's say I have a map of the State of Kansas with each county outlined. I will need to make each county a hotspot, so the entire image would be an imagemap - however, what if I needed to color the Capital a different color dynamically? The map will be a standard image, not google maps or anything like this. Is there any graphics code that I could use to recognize the imagemap coordinates and color the whole county a particular color? Or another question would be can the graphics code detect the region of a county and color it? What I originally tested was when I created the hotspot coordinate I created another div to place the RectangleHotSpot inside of, and used a style to set the background color. This might have worked but the Div was boxy, and the counties are of no particular shape. I need the whole county a specified color and not just parts of it. Any help or idea's would be appreciated. This is asp.net, C# Thanks.