Using google api javascript places

0

Hello, I'm trying to use google api

<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=Minha_Chave&libraries=places"></script>

I put my key here. And it gives the following error:

Google Maps JavaScript API error: RefererNotAllowedMapError

But I already referenced the site there in google cloud plataform , and I also set the key to use the places, yet it is not working, does anyone know how to solve it? Remembering that to using a local site, with a nonexistent domain, I will not C:\Windows\System32\Drivers\etc\host.conf and put ip site.local and such ...

    
asked by anonymous 09.10.2018 / 15:07

0 answers