Himaushu
Himaushu

Reputation: 1

Mapping areas of Image

In my desktop application i want to place a country map and states clickable. On clicking certain state the color of state should change and it should show some state specific info.

What will be the best approach to do it?

-HD

Upvotes: 0

Views: 80

Answers (2)

Wolfpack'08
Wolfpack'08

Reputation: 4128

You can make image maps with GIMP. Go here for an official tutorial from GIMP: http://www.gimp.org/tutorials/Image_Map/

Now, you'll have to figure the rest out in the programming language you are using. :)

Upvotes: 0

Emond
Emond

Reputation: 50672

WPF shapes such as the Path are clickable so it is relatively easy to capture a click on a state and change the fill of the shape. The hard part is drawing all the shapes.

Upvotes: 1

Related Questions