This is a migrated thread and some comments may be shown as answers.

Add a point with information

1 Answer 64 Views
Map
This is a migrated thread and some comments may be shown as answers.
Antonio
Top achievements
Rank 1
Antonio asked on 14 Oct 2011, 04:57 PM
Hi Telerik Team,
I have to create a map with dots loaded dynamically from wcf service and click to create awindow with a datagrid loaded from wcf service.
the thing that I can not understand is how to save the id of the station at the point on the mapand then load the datagrid dynamically.

The solution may be to create a control with properties to be saved?

How can I catch the click and then derive the id?

Do you have any specific example to help me understand?

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 19 Oct 2011, 11:30 AM
Hello Antonio,

I have attached a sample solution. It uses MVVM to show points. The template of point uses the MouseLeftButtonDown event to show a message box with id of the clicked point. I hope this gets you started properly.

Greetings,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Map
Asked by
Antonio
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or