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