FreewayTalk

9 replies to this thread. Most Recent

Kevin McElligott

13 May 2019, 11:41 am

Inbed maps

Hi

As Google no longer supports free map embedding in websites does anybody know of another service to replace these maps

Kind Regards Kevin

Simon Manning

13 May 2019, 1:21 pm

“Basic Embed”, which they describe as a basic Maps Embed API request that uses Place mode (to embed a map with a marker) or View mode (to embed a simple map), is still free. More advanced Google Maps options (like adding directions, street view, etc. to an embedded map or including a map in a mobile application) vary in price but you get $200 credit per month, so basically the first $200 worth of usage is free every month.

If you only use the maps on your website(s) for things like contact pages, with a marker showing where the office/store/whatever is located, the Basic Embed is probably what you’re after and so continues to be free.

Simon

On Mon, May 13, 2019 at 12:41 PM Kevin McElligott <[email protected]> wrote:

Hi

As Google no longer supports free map embedding in websites does anybody know of another service to replace these maps

Kind Regards Kevin

Noel Sergeant

17 May 2019, 4:28 pm

I’m having problems sorting out the new ‘Maps Embed API’ - could some kind sole point me in the way of some instructions? Also, what is $200 worth of usage? Many thanks.

Simon Manning

18 May 2019, 9:18 am

The Maps Embed API is just the URL with information provided in the query string, which you can generate here: https://developers.google.com/maps/documentation/embed/start

It basically asks you for a search option and when you’re happy with the map that appears on the right, it will ask for your API key and give you some code to add to your website. “Highlight a place or an address”, which adds a marker but can’t be customised, is free. “Just show a map of an area!” is also free, the other options are billed.

Freeway’s existing Google Maps Action uses the Maps JavaScript API, or “Dynamic Maps”, which is billed at $7 per thousand loads, so you get “up to 28,000 loads” free per month. A load is defined as when “A web page or application displays a map using the Maps JavaScript API”, interacting with the map after that initial load does not incur additional charges.

For example, if you have a Google Maps account for a website that uses the Google Maps Action on a single contact page, that contact page would need to be loaded (in a browser with JavaScript enabled) 28,000 times in a month before you start paying. ~900-930 times a day.

You can see more information about the pricing here: https://cloud.google.com/maps-platform/pricing/sheet/

Simon

On Fri, May 17, 2019 at 5:28 PM Noel Sergeant <[email protected]> wrote:

I’m having problems sorting out the new ‘Maps Embed API’ - could some kind sole point me in the way of some instructions? Also, what is $200 worth of usage? Many thanks.

Noel Sergeant

20 May 2019, 10:45 am

Thank you very much for that.

I put the API Key in the FW Google Maps action and still get the dreaded “Geocode was not successful for the following reason: REQUEST_DENIED” message.

Is it possible to see what I am doing wrong?

http://www.stokefilmtheatre.org.uk/aboutus.html

Simon Manning

20 May 2019, 10:59 am

Have you added billing details? I think that even if you won’t ever reach the $200 worth of usage, they require billing details to be added in order to use it.

On Mon, May 20, 2019 at 11:45 AM Noel Sergeant <[email protected]> wrote:

Thank you very much for that.

I put the API Key in the FW Google Maps action and still get the dreaded “Geocode was not successful for the following reason: REQUEST_DENIED” message.

Is it possible to see what I am doing wrong?

http://www.stokefilmtheatre.org.uk/aboutus.html

Noel Sergeant

20 May 2019, 11:11 am

Yes, I went to https://developers.google.com/maps/documentation/embed/start and put in my billing details and got the API code

Do I need to put in billing details in the FW Action?

Noel Sergeant

20 May 2019, 11:33 am

Instead of using the Google Maps action I have just used an iFrame and that seems to work OK - so my API key is valid.

Just can’t get the action to work!

Simon Manning

20 May 2019, 11:37 am

The Freeway Action doesn’t need to (and can’t) know anything about billing.

After a bit of rummaging around, I found that the geocode error refers to the geocoding API, which is part of a different option when creating the API key. Maps JavaScript API is included in that option and the other APIs under Maps aren’t needed, so when creating the key you should enable Places instead of Maps.

On Mon, May 20, 2019 at 12:11 PM Noel Sergeant <[email protected]> wrote:

Yes, I went to https://developers.google.com/maps/documentation/embed/start and put in my billing details and got the API code

Do I need to put in billing details in the FW Action?

Back to Top

Noel Sergeant

20 May 2019, 1:01 pm

Absolute genius! Now works a treat, thank you very much. Would never have worked that one out in a million years!

Who knew when using Google Maps not to use Maps but use Places instead!