-
Notifications
You must be signed in to change notification settings - Fork 936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<DirectionsRenderer> not giving any results #435
Comments
I currently have updated to react-google-maps beta (v6), and the async example is working. The directions renderer example is still giving me google undefined errors. can someone tell me how I can get the directions example working on the v6 version of react-google-maps? |
Is DirectionRenderer actually implemented in v6? I see it works when I pass a pre-executed route response from google as direction prop, but I cant get the API call to work to get the response message from google. Any advice?? |
The DirectionRenderer seems implemented, but it needs to be feeded with the result of the DirectionsService.
|
Please refer to Getting Help section in the README (or #469). |
The following code does not provide me a map with a route displayed:
If I use the code without the
<DirectionsRenderer>
component, I do get a nice google maps view.Do I need to assign the callback somehow to the
<GoogleMap>
? And if so, how? And how can I get the results json in a variable, so I can use this in my react code to parse e.g. the travel time?btw: I am on version 4.11.0, v6 does not load the maps with the above code at all.
The text was updated successfully, but these errors were encountered: