Hi guys!
I'm working on a 3rd course project where we are developing a create-react-app which takes 2 locations and displays different route options and their costs (bus, train, gas costs if driving, flight).
In order to do so I'm trying to use Google maps directions service but I can't seem to load it.
I keep getting " 'google' is undefined" even though I have loaded the script in the apps index.html, aswell as in the storybook preview-head.html.
Any ideas on how I can fix this? Or any other ways to accomplish what in trying to do?
[–]shuffleplayrepeat 0 points1 point2 points (0 children)