private void RemoveStopsFromMap(params string[] stops) { foreach (var item in StopIconWrappers.ToArray()) { if (stops.Contains(AttachedProperties.GetElementID(item.Element))) { MapElementsShown.Remove(item.Element); StopIconWrappers.Remove(item); } } }