Closed MauriFont closed 4 years ago
When passing LatLong as an argument to the DirectionsWaypoint constructor it creates a wrong javascript string:
"{location: " + l.toString() + "}" -> {location: lat: 1.000000 lng: 1.0000000}
I changed it so it just passes the LatLong variable name.
When passing LatLong as an argument to the DirectionsWaypoint constructor it creates a wrong javascript string:
"{location: " + l.toString() + "}" -> {location: lat: 1.000000 lng: 1.0000000}
I changed it so it just passes the LatLong variable name.