/// <summary> /// Must call this method to remove CirlcePin objects. Otherwise, overlays would not be removed. /// </summary> public void ClearCirclePins() { if (Pins.Count > 0) { var circlePins = new CirclePin[Pins.Count]; Pins.CopyTo(circlePins, 0); Pins.Clear(); PinsCleared?.Invoke(this, circlePins); } }