コード例 #1
0
        public void AddAnnotations(List<IMKAnnotation> annotations)
        {
            if (_tree == null)
                _tree = new FBQuadTree();

            lock(this) 
            {
                foreach (IMKAnnotation annotation in annotations)
                {
                    _tree.InsertAnnotation(annotation);
                }
            }
        }
コード例 #2
0
        public void AddAnnotations(List <IMKAnnotation> annotations)
        {
            if (_tree == null)
            {
                _tree = new FBQuadTree();
            }

            lock (this)
            {
                foreach (IMKAnnotation annotation in annotations)
                {
                    _tree.InsertAnnotation(annotation);
                }
            }
        }
コード例 #3
0
 public void SetAnnotations(List <IMKAnnotation> annotations)
 {
     _tree = null;
     AddAnnotations(annotations);
 }
コード例 #4
0
 public void SetAnnotations(List<IMKAnnotation> annotations)
 {
     _tree = null;
     AddAnnotations(annotations);
 }