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

Bind a collection of layers

3 Answers 68 Views
Map
This is a migrated thread and some comments may be shown as answers.
David Brubacher
Top achievements
Rank 1
David Brubacher asked on 17 Sep 2011, 05:26 PM
Is it possible to use binding at the layer collection level?
I would like to use MVVM and bind a number of layers (Information layers for now, maybe dynamic in the future) to the map.
I will generate the layers and populate them  at runtime. The number of layers changes based on user input so it must be at runtime.

I've experimented a bit with it but haven't had any success yet. Is it possible?

3 Answers, 1 is accepted

Sort by
0
Alexey
Top achievements
Rank 1
answered on 21 Sep 2011, 10:44 AM

Hello,

I’ve got the same question so would love to hear any answer on this too.

Could someone from the Telerik team please respond to the question?

Thanks in advance,
Alexey

0
Accepted
Andrey
Telerik team
answered on 21 Sep 2011, 03:05 PM
Hi David and Alexey,

Yes, the map control allows to bind a collection of layers. I have attached a small example. I hope this gets you started properly.

Regards,
Andrey Murzov
the Telerik team

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

0
Alexey
Top achievements
Rank 1
answered on 21 Sep 2011, 03:18 PM
Great thanks Andrey!

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