示例#1
0
 protected void computeBboxAndCenterScale() {
   BoundingXYVisitor v = new BoundingXYVisitor();
   if (currentBounds != null) {
     v.visit(currentBounds);
   } else {
     v.computeBoundingBox(dataSet.getNodes());
   }
   // Main.map.mapView.recalculateCenterScale(v);
 }
示例#2
0
 @Override
 public void visitBoundingBox(BoundingXYVisitor v) {
   for (ImageEntry e : data) {
     v.visit(e.getPos());
   }
 }
示例#3
0
 @Override
 public void visitBoundingBox(final BoundingXYVisitor v) {
   for (final Node n : data.nodes) if (!n.deleted && !n.incomplete) v.visit(n);
 }
示例#4
0
 @Override
 public void visitBoundingBox(BoundingXYVisitor v) {
   for (Note note : noteData.getNotes()) {
     v.visit(note.getLatLon());
   }
 }