refresh problem

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    23 posts
    Member since:
    Oct 2008

    Posted 05 Feb 2010 Link to this post

    Hello,
    I am binding ItemsSource of the information layer to a ObservableCollection<FrameworkElements>
    When I add items to the collection, they appear in the information layer but they are all situated in the top left corner, not in the location specified by the Location property for each element.

    When I drag the map, elements move the right position.
    Is this a bug?
    Internally, I guess the information layer should parse the ItemsSource property when it got changed and reposition all the elements. This doesn't happen.
    How can I refresh the information layer?

    EDIT:   the weird thing is that adding KML FrameworkElements generated byt the ReadKml() works.

    Thank you.
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 09 Feb 2010 Link to this post

    Hello Ken,

    Thank you for the feedback.
    The binding to ItemsSource of the information layer is not supported in CTP. It will work as expected in 2010.Q1 beta.

    Best wishes,
    Andrey Murzov
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Back to Top