Google Maps Installation

Permalink
Hello All,

I'm trying to add Google Maps to my c5 site, currently in development.

I first tried using the Google Maps block, but that requires an api key, but I'm unsure of the url I should provide to Google, since the site is in development, hosted by C5.

Then I learned that Google no longer requires an api or a web site to be registered. Google has published the steps needed to install a map this way, here:

http://maps.google.com/help/maps/share/embed.html#utm_source=en-map...

I'd like to be able to edit a page to include the required html, however, I don't see a way to edit the html.

Question: Should I use Google's newer method to install a map? If so, where do I alter the html?

Has anyone else installed Google Maps in C5? How did you do it?

Thanks!

Arnold

 
tallacman replied on at Permalink Reply
tallacman
I have it installed here:http://performancec5.com/index.php/reviews/google_maps/...

I've done exactly what you are doing, building a site under a non-final url. Getting the API keys is a piece of cake. When I moved my site live I just updated the key in the database directly as I had about 20 pages using the map.
Tony replied on at Permalink Reply
Tony
google maps V3 doesn't require an API key, but I think the google maps blocks are still using V2.
soberkids replied on at Permalink Reply
Thanks for the quick reply, tallacman.

Since we're still in development, what url should I use when getting a Google Map api?

At Google Maps, I inserted the url for my site and got a key. However, when I attempted to use the C5 Google Block, I got the following message:

The web site needs a different Google Maps API key. A new key can be generated athttp://code.google.com/apis/maps/...

When I navigate there, Google presents a lot of options. Do you have some advice for a newbie?

Yhanks!
soberkids replied on at Permalink Reply
Hello all,

I just figured out the issue I was having with the mysterious message:

The web site needs a different Google Maps API key. A new key can be generated athttp://code.google.com/apis/maps/......

Not only do you have to exit edit mode, you also have to navigate to another page on your site...then return, to see the map.

Thanks for helping me get started!
tallacman replied on at Permalink Best Answer Reply
tallacman
It will be your base url. So mysite.com/test may be your site build but your google maps code will only look at the mysite.com part. That's what you use.