When I get:
"overview_polyline"
from service:
directionsService
I want to put it in my:
addPolyline
in the following way
this.map.addPolyline({
'path': response.routes[0].overview_polyline,
'color': '#000000',
'width': 3,
'geodesic': true
});
but it marks me the error since path is not recognized inaddPolyline