Currently following [this][1] guide to develop a Google Map and now I am looking to execute a GET request with Axios:
axios.get("http://localhost:8080/mapjson").then(function(response) { })
in order to integrate the information from my JSON file into the map (such as coordinates, polylines, etc).
The issue arises when trying to access elements within the axios function! For instance, an error occurs:
TypeError: Cannot read property 'map' of undefined at eval
Is there a way to implement this Google Maps code within my Axios function? The goal is to pass latitude, longitude, and a date/time object.