N
N
No Name2016-07-15 20:04:36
API
No Name, 2016-07-15 20:04:36

How to run Google Maps API on localhost?

I want to experiment with the Google Maps API. I generated a key, added localhost:8080
to the list of domains , but an error is generated > Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/j... > Your site URL to be authorized: localhost:8080/ 3-click-to-zoom.html

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arthur, 2016-07-15
@alienworkshop

1) prntscr.com/btbwtp - put "*" in the Google Maps Javascript API console.
2) In code
3) Wait 5 minutes.
4) Done

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question