Added polyline functionality on the map. Curved lines now work.