ReactDoubter

1

votes
0

answer
7

views

Google Maps Directions API with no custom library

I have a button which, when clicked, is supposed to render a Map with the directions API loaded (the method is called from the main component). This is not working and I keep getting 'Uncaught (in promise) TypeError: Cannot read property 'defaultView' of undefined' on the console. Any ideas what´s...
ReactDoubter