private void addMotorwayLayer ( ) { LineLayer motorWay = TrafficLayer . getLineLayer ( MotorWay . BASE_LAYER_ID , MotorWay . ZOOM_LEVEL , MotorWay . FILTER , MotorWay . FUNCTION_LINE_COLOR , MotorWay . FUNCTION_LINE_WIDTH , MotorWay . FUNCTION_LINE_OFFSET ) ; LineLayer motorwayCase = TrafficLayer . getLineLayer ( MotorWay . CASE_LAYER_ID , MotorWay . ZOOM_LEVEL , MotorWay . FILTER , MotorWay . FUNCTION_LINE_COLOR_CASE , MotorWay . FUNCTION_LINE_WIDTH_CASE , MotorWay . FUNCTION_LINE_OFFSET ) ; addTrafficLayersToMap ( motorwayCase , motorWay , getLastAddedLayerId ( ) ) ; }
Add motorway layer to the map .