private void addTrafficSource ( ) { VectorSource trafficSource = new VectorSource ( TrafficData . SOURCE_ID , TrafficData . SOURCE_URL ) ; style . addSource ( trafficSource ) ; }
Adds traffic source to the map .