public void loadMap(InputStream input,String groupID) throws Exception {
  shapes=parser.parse(input,groupID);
  boundaries=new ArrayList<Rect2D>(shapes.size());
  for (  IGeometric2D shape : shapes) {
    boundaries.add(shape.getBounds());
  }
}

public void loadMap ( InputStream input , String groupID ) throws Exception { shapes = parser . parse ( input , groupID ) ; boundaries = new ArrayList < Rect2D > ( shapes . size ( ) ) ; for ( IGeometric2D shape : shapes ) { boundaries . add ( shape . getBounds ( ) ) ; } }
loads a map input into this cartesian plot .
