protected void printWay(MapWay way,DefaultEntityViewInfo pInfo,boolean asArea){
  List<MapNode> nodes=getWayNodes(way);
  if (nodes != null) {
    boolean asOneway=false;
    NameInfo textInfo=null;
    if (scale >= pInfo.minNameScale * displayFactor) {
      asOneway=way.isOneway();
      if (way.getName() != null && pInfo.nameColor != null) {
        textInfo=new NameInfo(way.getName(),pInfo.nameColor,pInfo.printOrder);
      }
    }
    printLine(imageBdr,nodes,pInfo,asArea,asOneway,textInfo);
  }
}

protected void printWay ( MapWay way , DefaultEntityViewInfo pInfo , boolean asArea ) { List < MapNode > nodes = getWayNodes ( way ) ; if ( nodes != null ) { boolean asOneway = false ; NameInfo textInfo = null ; if ( scale >= pInfo . minNameScale * displayFactor ) { asOneway = way . isOneway ( ) ; if ( way . getName ( ) != null && pInfo . nameColor != null ) { textInfo = new NameInfo ( way . getName ( ) , pInfo . nameColor , pInfo . printOrder ) ; } } printLine ( imageBdr , nodes , pInfo , asArea , asOneway , textInfo ) ; } }
prints a way entity .
