ClemensFischer / XAML-Map-Control

XAML Map Control Library
Microsoft Public License
205 stars 61 forks source link

MapPolyline's locations collection after adding new items does not refresh UI #43

Closed dgs28iun closed 4 years ago

dgs28iun commented 4 years ago

Hi,

I am using MapControl in my project, and I noticed after adding locations for trace route, in real-time, to MapPolyline datatemplate from sample application in case of static map UI does not refresh. If I move map with mouse, polyline redraws on map.

Could you please check it? Thanks mappolyline

ClemensFischer commented 4 years ago

Use an ObservableCollection<Location> for the Locations property.

dgs28iun commented 4 years ago

It is working properly now, thank you very much