Author Topic: Thanks Google  (Read 2466 times)

Thanks Google
« on: 04 May, 2018, 10:55:55 pm »
So they've made big changes to the Google Maps API. It used to be something like 25,000 calls a day for dynamic maps, now it's 28,000 per MONTH. Go over that and you get charged through the arse. You now have to give Google your credit card details to continue.

No problem, just switch to some other platform, right? But nice Mr Google has given just one month's notice. One sodding month to get everything sorted. Arseholes.
Those wonderful norks are never far from my thoughts, oh yeah!

Kim

  • Timelord
    • Fediverse
Re: Thanks Google
« Reply #1 on: 04 May, 2018, 11:40:02 pm »
Being an arsehole appears to be a sound business model...

Jaded

  • The Codfather
  • Formerly known as Jaded
Re: Thanks Google
« Reply #2 on: 04 May, 2018, 11:41:20 pm »
If you aren’t the product, you are paying for it.
It is simpler than it looks.

Re: Thanks Google
« Reply #3 on: 05 May, 2018, 06:06:25 am »
Help out a non-techie ... will that affect people who use Bikehike (or other such software)?
Eddington Number = 132

Jaded

  • The Codfather
  • Formerly known as Jaded
Re: Thanks Google
« Reply #4 on: 05 May, 2018, 06:34:46 am »
I’d imagine it will affect any web site that uses Google maps heavily.
It is simpler than it looks.

Re: Thanks Google
« Reply #5 on: 05 May, 2018, 07:31:39 am »
I dont see the issue. They are charging if you use their service more than 28,000 times a month or about 1000 times a day? That's not casual use is it why shouldn't they charge.
I think you'll find it's a bit more complicated than that.

Jaded

  • The Codfather
  • Formerly known as Jaded
Re: Thanks Google
« Reply #6 on: 05 May, 2018, 07:48:43 am »
Is it per call or per tile? Each call could be loads of tiles, or whatever they call the blocks of data.
It is simpler than it looks.

T42

  • Apprentice geezer
Re: Thanks Google
« Reply #7 on: 05 May, 2018, 08:12:36 am »
AIUI it's per transaction, i.e. every call to the API, so if you're plotting a route every successive point you add triggers a call. So does every time you drag the route, insert/delete/move a point, zoom, drag the map, search for a town, or generate a GPX. Those are just some of the top-level actions a user might see, but a routing program has to do lots of fiddly stuff the user doesn't see. Underneath, the API has tens or maybe hundreds of functions, and just displaying a route might make a couple of hundred calls: multiply that by the number of chums or members or whatever who might use your site in the course of a month and you're essentially writing Google a blank cheque.

I have an API key and I was working on a routing site for our club. I have no intention of changing to a charge account on those terms, so that has put the kybosh on that.  At close range I shit upon them with gusto, because it's hard to judge windage from a great height.
I've dusted off all those old bottles and set them up straight

Re: Thanks Google
« Reply #8 on: 05 May, 2018, 08:20:12 am »
From the docs:

Quote from: Google
How are map loads applied against the usage limits for Google Maps APIs for Web?

    A single map load is charged when any of the following occur:

        A web page or application displays a map using the Google Maps JavaScript API.

        A web page or application displays a Google Street View Image API panorama using the Google Maps JavaScript API. If a Street View panorama replaces a map in the same div element, the panorama is not charged.

        An application requests a single map image from the Google Static Maps API.
        An application requests a single panorama image from the Google Street View Image API.

    After a web page or application loads a map, a static map image, or a Street View panorama, any user interactions with it, such as panning, zooming, or switching map layers, do not generate additional map loads or affect usage limits.

Those wonderful norks are never far from my thoughts, oh yeah!

T42

  • Apprentice geezer
Re: Thanks Google
« Reply #9 on: 05 May, 2018, 01:14:30 pm »
OK, that's better than per transaction but it's still swingeing.

Don't OSM do routing?
I've dusted off all those old bottles and set them up straight

Phil W

Re: Thanks Google
« Reply #10 on: 05 May, 2018, 02:01:34 pm »
I use Leaflet for my online mapping.  Allows you to swap between various different maps. Does not do routing but you can keep  Google for that bit. Once route is complete , no need to talk to Google just plot the gpx directly  in Leaflet. Cycle Streets also offers a routing api you can use on your own site if you ask for an API key.

https://leafletjs.com/

fuaran

  • rothair gasta
Re: Thanks Google
« Reply #11 on: 05 May, 2018, 06:12:21 pm »

Re: Thanks Google
« Reply #12 on: 05 May, 2018, 06:50:12 pm »

Re: Thanks Google
« Reply #13 on: 05 May, 2018, 10:10:44 pm »
I use Leaflet for my online mapping.  Allows you to swap between various different maps. Does not do routing but you can keep  Google for that bit. Once route is complete , no need to talk to Google just plot the gpx directly  in Leaflet. Cycle Streets also offers a routing api you can use on your own site if you ask for an API key.

https://leafletjs.com/

Just spent a couple of hours redoing some Google Maps stuff with Leaflet and it works a treat  :) Just a few more tweaks and I can fuck Google Maps off completely...
Those wonderful norks are never far from my thoughts, oh yeah!

T42

  • Apprentice geezer
Re: Thanks Google
« Reply #14 on: 06 May, 2018, 10:20:28 am »
I shall watch with interest. ;)
I've dusted off all those old bottles and set them up straight

frankly frankie

  • I kid you not
    • Fuchsiaphile
Re: Thanks Google
« Reply #15 on: 06 May, 2018, 11:01:11 am »
OK, that's better than per transaction but it's still swingeing.

Don't OSM do routing?

Thing is, most OSM implementations that you see out there are still using the Google API.  See BikeHike for example, if you switch to OpenCycleMap you're still using Google's zoom and navigation controls.
when you're dead you're done, so let the good times roll

Re: Thanks Google
« Reply #16 on: 06 May, 2018, 08:44:57 pm »
Anyone know what the implications will be for users of sites that have GM's imbedded - like RideWithGPS?
The sound of one pannier flapping

Re: Thanks Google
« Reply #17 on: 06 May, 2018, 09:08:09 pm »
Anyone know what the implications will be for users of sites that have GM's imbedded - like RideWithGPS?

They possibly already have an Enterprise account, so maybe no worries for them at all....
Those wonderful norks are never far from my thoughts, oh yeah!