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

refresh problem

1 Answer 50 Views
Map
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 05 Feb 2010, 05:02 PM
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.

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 09 Feb 2010, 07:59 AM
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.
Tags
Map
Asked by
Andrew
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or