private void setCoordinateLineVisibleInMap ( final String coordinateLineId ) { if ( null != coordinateLineId ) { final WeakReference < CoordinateLine > coordinateLineWeakReference = coordinateLines . get ( coordinateLineId ) ; if ( null != coordinateLineWeakReference ) { final CoordinateLine coordinateLine = coordinateLineWeakReference . get ( ) ; if ( null != coordinateLine ) { if ( coordinateLine . getVisible ( ) ) { jsMapView . call ( "showCoordinateLine" , coordinateLineId ) ; } else { jsMapView . call ( "hideCoordinateLine" , coordinateLineId ) ; } } } } }
shows or hides the coordinateline in the map according to it s visible property .