You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using "@googlemaps/google-maps-services-js": "^3.4.0"
I'm trying to use Directions API on the server side and pass the directions() response to the client to render. This is done so the client can stay lean and keyless while the server decides when the directions need to be recalculated.
Due to a different schema, the response returned (DirectionsResponseData) cannot be set in the client using setDirections().
Not sure if this is intended and how to resolve the issue. A manual transformation might be possible but I want to make sure I'm not missing anything and understand the reason for the diff.