private OMGraphicList plotDataSources(GLOBETempData temperature_data){
  Debug.message("basic","PlotLayer.plotDataSources()");
  int num_graphics=0;
  OMGraphicList graphics=new OMGraphicList();
  graphics.setTraverseMode(OMGraphicList.LAST_ADDED_ON_TOP);
  Enumeration site_enum=temperature_data.getAllSites();
  while (site_enum.hasMoreElements()) {
    GLOBESite site=(GLOBESite)site_enum.nextElement();
    graphics.add(site.getGraphic());
    num_graphics++;
  }
  Debug.message("basic","Plotlayer found " + num_graphics + " distinct sites");
  return graphics;
}

private OMGraphicList plotDataSources ( GLOBETempData temperature_data ) { Debug . message ( "basic" , "PlotLayer.plotDataSources()" ) ; int num_graphics = 0 ; OMGraphicList graphics = new OMGraphicList ( ) ; graphics . setTraverseMode ( OMGraphicList . LAST_ADDED_ON_TOP ) ; Enumeration site_enum = temperature_data . getAllSites ( ) ; while ( site_enum . hasMoreElements ( ) ) { GLOBESite site = ( GLOBESite ) site_enum . nextElement ( ) ; graphics . add ( site . getGraphic ( ) ) ; num_graphics ++ ; } Debug . message ( "basic" , "Plotlayer found " + num_graphics + " distinct sites" ) ; return graphics ; }
put the data points on the map .
