google-maps-react-2020 icon indicating copy to clipboard operation
google-maps-react-2020 copied to clipboard

codebase not working with mock data

Open js08 opened this issue 5 years ago • 2 comments
trafficstars

Hi,

I am testing your code with hard coded values I tried to hard code and do a search in my text box, but it's not working. I am getting an error, can you tell me how to fix it. I enabled all the API, but locations didn't work that's the reason I wanted to hard code

js?key=AIzaSyChvAoV4GcGa856ojaFyxDQ7Pr4U-qP5qg&v=weekly&libraries=places&callback=initMap:84 Uncaught oe {message: "not a LatLng or LatLngLiteral with finite coordinates: in property lat: not a number", name: "InvalidValueError", stack: "Error↵ at new oe (https://maps.googleapis.com/m…es/react-dom/cjs/react-dom.development.js:5881:3)"}

js08 avatar Jul 21 '20 17:07 js08

hey after I remove quotes before latitude and longitude its working, but still I don't know why locations API is not enabled

js08 avatar Jul 22 '20 02:07 js08

Hey, I just watched the video and stumbled upon this issue. Do you have any errors in console?

ahmcho avatar Dec 25 '20 17:12 ahmcho