Bind a collection of layers

4 posts, 1 answers
  1. David Brubacher
    David Brubacher avatar
    29 posts
    Member since:
    Mar 2010

    Posted 17 Sep 2011 Link to this post

    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?
  2. Alexey
    Alexey avatar
    4 posts
    Member since:
    Jun 2011

    Posted 21 Sep 2011 Link to this post

    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

  3. DevCraft banner
  4. Answer
    Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 21 Sep 2011 Link to this post

    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 >>

  5. Alexey
    Alexey avatar
    4 posts
    Member since:
    Jun 2011

    Posted 21 Sep 2011 Link to this post

    Great thanks Andrey!

    Alexey
Back to Top