Help wuth click map
-
hello guys. Im not a graphics person but I need help with something.I need a man, preferebly South African with all the states.I want to be able to click on the individual states and get to another picture.Im designing a web page for my company and I have subsidiaries in different states.I want info of those subsidiaries when I click, which I can display on the page.How do I get a map like that.ive googled and don get anything.
kagiso
-
hello guys. Im not a graphics person but I need help with something.I need a man, preferebly South African with all the states.I want to be able to click on the individual states and get to another picture.Im designing a web page for my company and I have subsidiaries in different states.I want info of those subsidiaries when I click, which I can display on the page.How do I get a map like that.ive googled and don get anything.
kagiso
Create a second bitmap with the same dimensions which you don't display. Give each unique area a unique color. The next step is, when the user clicks your bitmap get the mouse coordinates relative to your bitmap and use these coords on your internal map. DWORD ID = GetPixel( x, y ); switch ( ID ) { case 12: //South African; }