public void AddAnnotations(List<IMKAnnotation> annotations) { if (_tree == null) _tree = new FBQuadTree(); lock(this) { foreach (IMKAnnotation annotation in annotations) { _tree.InsertAnnotation(annotation); } } }
public void AddAnnotations(List <IMKAnnotation> annotations) { if (_tree == null) { _tree = new FBQuadTree(); } lock (this) { foreach (IMKAnnotation annotation in annotations) { _tree.InsertAnnotation(annotation); } } }
public void SetAnnotations(List <IMKAnnotation> annotations) { _tree = null; AddAnnotations(annotations); }
public void SetAnnotations(List<IMKAnnotation> annotations) { _tree = null; AddAnnotations(annotations); }