예제 #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());
   }
 }