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