Google maps api key for localhost

For google maps api v3, the key must be empty for it to work in localhost. Older version key check is skipped for http://localhost/. You could use the key that you intend to use on your live domain, or anything else.

If you use a port number with localhost, then you can obtain a key for
“http://localhost:1234″.

Hope this help.

By Keenlio, July 30, 2014

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *


+ 9 = eleven

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>