Env:
- project with reactjs
- using https://tomchentw.github.io/react-google-maps/ (Map with a SearchBox)
I have problem about restriction api key google, and the problem :
step to reproduce
- copy the project reactjs maps from https://stackblitz.com/edit/react-5bsr3p
- change with your key with key restriction -> application restriction -> ip address your ip address or get from link get ip on
Geocode.setApiKey('');
- run the project, go to tab network and I get error from
https://maps.google.com/maps/api/geocode/json?latlng=48.8583701,2.2922926&key=yourkey
like this
This IP, site or mobile application is not authorized to use this API key. Request received from IP address 114.124.192.77, with referer: http://localhost:3000/
Thanks for your help....