Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 612 Bytes

README.md

File metadata and controls

18 lines (10 loc) · 612 Bytes

Google Map Geolocation Example

Ao informar o cep, o sistema puxa as coordenadas de latitude e longitude para inserir um marcador no mapa.

Alt Text

Antes de rodar o projeto, crie o arquivo api-google-maps.php na pasta php com o seguinte script:

<script async defer
    src="https://maps.googleapis.com/maps/api/js?key=SUA_CHAVE_DA_API"></script>

Altere também a chave em php/getLatLng.php

Para obter a chave da api clique aqui