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

Databinding RadMap Center and ZoomLevel

1 Answer 106 Views
Map
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 15 Jan 2013, 03:47 PM
I have data bound the RadMap Center and ZoomLevel to properties in my ViewModel. These work fine up until I move the map or zoom in/out using the mouse. It appears as if the databinding is no longer working. I'm firing the OnPropertyChanged events but the map fails to respond. The mouse events are being handled directly by the control.

Any Idea if this is a bug? Or should I update these properties in another way?

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 16 Jan 2013, 12:24 PM
Hi Rob,

Most often this problem occurs when the mode of data binding is not specified. You should bind these properties using two way mode to avoid this problem.

Kind regards,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

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