World Map


Author
Message
Bruce Guthrie
Bruce Guthrie
Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)
Group: Forum Members
Posts: 14, Visits: 2

Hello,

I like the world maps and the one thing i would like to find out is, is it possible to add a mouse click event so that when the user clicks on a country the name or any other information can be captured for futher use.

there is already the interactivity tool and i tried to add the mouse event click event but was unable to come up with the correct code.

could you post the code in vb.net.

Regards

Bruce.


Reply
Pavel Vladov
Pavel Vladov
Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)
Group: Forum Members
Posts: 33, Visits: 5

Hello Bruce,

If you have followed the principles shown in the map examples, then the shapes in the diagram created by the map importer are named after the countries. So all you have to do is to get the name of the shape (use shape.Name) the user has clicked on.

Questions or comments, please let me know.

Best Regards,
Pavel


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search