public MapPolyline() { _positions = new ObservableCollection<Position>(); _positions.CollectionChanged += Positions_CollectionChanged; ZIndex = 1; }