quick tip: you can get google map api key for localhost

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
dado's picture

You need not have a live web server to develop/test google mapping with the gmap module or whichever. Go to
http://www.google.com/apis/maps/signup.html
and type
http://localhost
in the form after "My web site URL:". The API key they give you works for your localhost. For some reason I did not expect this would work.

Comments

Thanks

Michelle's picture

2 years later this just helped me. :)

Michelle


See my Drupal articles and tutorials or come check out the Coulee Region

Thanks again

hzakii's picture

6 years later this just helped me. :D

7 years later and...

Bertjuh's picture

It has helped me BUT it has changed.

Go to https://code.google.com/apis/console/

Click API access

type: localhost (instead of http://localhost)

9 years later and...

adamchenwei's picture

It has helped me THOUGHT I was helped.

both :
http://localhost

and
localhost

no longer working

TESTED ON :GOOGLE MAP V3 JS API issue for browser or server

So... who can continue the legend?

Solved it for MAMP...

dremy's picture

I added: localhost:8000/*

To: https://code.google.com/apis/console/

works with

ravyg's picture

works with http
http://localhost

Location and Mapping

Group organizers

Group categories

Wiki type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: