Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

clickable world map 8

Status
Not open for further replies.

peterve

IS-IT--Management
Mar 19, 2000
1,348
NL
Hi all,

I want to include a world map in my VB.Net application.
The map needs to be clickable (based on countries) and I want to have the option to fill each country in a different country

Does anyone have an idea on how to do this ?

thanks

P

--------------------------------------------------------------------
--------------------------------------------------------------------
How can I believe in God when just last week I got my tongue caught in the roller of an electric typewriter?
---------------------------------------------------------------------
 
now you deserve a star and so much more

[medal]

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
Rick

Thats just brilliant, and definitely worth of todays purple star award


Sweep
...if it works dont mess with it
 
I've found another way of doing it
I have a database with all of the coordinates of every country in the world, so I can draw the map of the world and save it as a bitmap.
Based upon data in my database, I need to fill a specific country with a specific colour, and allow the user to click the country
Solution : I've created an imagemap, with areas that are clickable (based upon the same polygon areas that are used to draw the countries). THe imagemap uses the original bitmap as background image.
Last but not least : I'm drawing the countries will a FillPolygon when the colour needs to be changed.

--------------------------------------------------------------------
How can I believe in God when just last week I got my tongue caught in the roller of an electric typewriter?
---------------------------------------------------------------------
 
Very nice! Don't know if I'll ever get a chance to use it either but definately worth a star from me for the effort and the "theory" behind it.

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Now that's the last star he gets. He's getting to close.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
Gonna catch ya Chrissie ;)

-Rick

----------------------
[banghead]If you're about to post an ASP.Net question,
please don't do it in the VB.Net forum[banghead]

[monkey] I believe in killer coding ninja monkeys.[monkey]
 
That is very nice Rick. Thank you for the follow up post. That is a great method.

Cassidy
 
ok ok ok - maybe I should get a star too for posting this great question !
[tongue]

--------------------------------------------------------------------
How can I believe in God when just last week I got my tongue caught in the roller of an electric typewriter?
---------------------------------------------------------------------
 
Motivation counts for something eh peterve ;)

-Rick

----------------------
[banghead]If you're about to post an ASP.Net question,
please don't do it in the VB.Net forum[banghead]

[monkey] I believe in killer coding ninja monkeys.[monkey]
 
true :)

thanks for the help folks - great job !!



--------------------------------------------------------------------
How can I believe in God when just last week I got my tongue caught in the roller of an electric typewriter?
---------------------------------------------------------------------
 
And I think he's belgian too, or at least very close.

zeg het maar peter.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
indeed Christiaan - er zitten nog belgen op dit forum :)

--------------------------------------------------------------------
How can I believe in God when just last week I got my tongue caught in the roller of an electric typewriter?
---------------------------------------------------------------------
 
I ride an 18h Belgian horse, does that count ;)

-Rick

----------------------
[banghead]If you're about to post an ASP.Net question,
please don't do it in the VB.Net forum[banghead]

[monkey] I believe in killer coding ninja monkeys.[monkey]
 
Well at least it proofs that you have good taste.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
Well, it's actually my Wife's. But I've been thinking about hitching up a Norwegian Fjord pony.

-Rick

----------------------
[banghead]If you're about to post an ASP.Net question,
please don't do it in the VB.Net forum[banghead]

[monkey] I believe in killer coding ninja monkeys.[monkey]
 
I wantd to say that she had good taste, but then again... her taste in men is less then bad.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
I think she'd agree with you

-Rick

----------------------
[banghead]If you're about to post an ASP.Net question,
please don't do it in the VB.Net forum[banghead]

[monkey] I believe in killer coding ninja monkeys.[monkey]
 
I am having problems open your .sln file what version did you build this in?
Thanks

To go where no programmer has gone before.
 
>I am having problems open your .sln file what version did you build this in?

Most likely a later version than yours. If you can see the code at all, copy it, and paste it into your new project.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top