public Location(int x,int y,String name,OMGraphic locationMarker){
  setLocation(x,y);
  this.name=name;
  if (logger.isLoggable(Level.FINER)) {
    logger.finer("Location XY(" + x + ", "+ y+ ", "+ name+ ")");
  }
  if (locationMarker == null) {
    location=new OMPoint(x,y);
  }
 else {
    location=locationMarker;
  }
  label=new OMText(x,y,name,OMText.JUSTIFY_LEFT);
}

public Location ( int x , int y , String name , OMGraphic locationMarker ) { setLocation ( x , y ) ; this . name = name ; if ( logger . isLoggable ( Level . FINER ) ) { logger . finer ( "Location XY(" + x + ", " + y + ", " + name + ")" ) ; } if ( locationMarker == null ) { location = new OMPoint ( x , y ) ; } else { location = locationMarker ; } label = new OMText ( x , y , name , OMText . JUSTIFY_LEFT ) ; }
create a location at a map location . if the locationmarker is null , a small rectangle ( dot ) will be created to mark the location .
