Advertisement:

Author Topic: Important - Google is going to charge developers for using their map API  (Read 1106 times)

BritWeb

  • Hero Member
  • *****
  • Posts: 770
  • If it ain't broke, don't fix it.
Hi

Just got an email from Google saying that they will start charging developers for using their map API

Quote
We would like to highlight a few updates that may impact your implementation. Beginning June 11th, we are launching our new pricing plan and providing all users access to support. We’ll continue to offer a free tier — all developers will receive $200 of free monthly usage of our core products.

In addition, this change will require you to enable billing and associate it with all of your Google Maps Platform projects. Creating a billing account helps us better understand your usage so we can continue developing helpful products. It also allows you to scale easily with less downtime and fewer performance issues if your product grows beyond the $200 of free monthly usage. For additional visibility and control you can set daily quotas or billing alerts..

FYI

Thanks


p206ab

  • Sr. Member
  • ****
  • Posts: 343
Bing maps it is then..  :(

Wait.. the Google Maps plugin from Osclass doesn't have an API key inside?
« Last Edit: May 03, 2018, 11:55:13 am by p206ab »

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
That plugin did not work after inserting google api  code anyway.

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1198
Developpers have 200 USD of free monthly usage, they calculate that 98% of developpers will still use google map for free

BritWeb

  • Hero Member
  • *****
  • Posts: 770
  • If it ain't broke, don't fix it.
Developpers have 200 USD of free monthly usage, they calculate that 98% of developpers will still use google map for free

This may be be true but the developers who use their API should open an account with credit card details and this means if they overrun the usage, Google will suck the money out from their bank account.


p206ab

  • Sr. Member
  • ****
  • Posts: 343
Just got an email that my website, based on Infinity theme does not use an API key and I should get one.
The terms have changed as it seems I fit into one-time 300$ bonus, not the monthly 200$ limit.

So.. it's time to change to Bing maps or something. Shall we discuss on how to? :)

BritWeb

  • Hero Member
  • *****
  • Posts: 770
  • If it ain't broke, don't fix it.
Just got an email that my website, based on Infinity theme does not use an API key and I should get one.
The terms have changed as it seems I fit into one-time 300$ bonus, not the monthly 200$ limit.

So.. it's time to change to Bing maps or something. Shall we discuss on how to? :)

Good idea! Let's explore the options of using Bing Map (at least until they start charging site owners). I am using Gum Theme, hope the developer incorporates Bing Map replacing Google Map.

Summerpixie

  • Newbie
  • *
  • Posts: 28
I deleted the Google Maps plugin now, I am not giving them my credit card details.  I am sure my site will never exceed the $200 monthly amount, but companies have a way of inventing use which never happened (I have bad experience from the past), so it is bye bye Google Maps, which is sad, because it is a nice feature. 

I could not get the other maps plugin to work.  :-\

p206ab

  • Sr. Member
  • ****
  • Posts: 343
How about embedding?

Code: [Select]
<?php
            $addr 
= array();
            if( ( 
osc_item_address() != '' ) && ( osc_item_address() != null ) ) { $addr[] = osc_item_address(); }
            if( ( 
osc_item_city()  != '' ) && ( osc_item_city()  != null ) ) { $addr[] = osc_item_city(); }
            if( ( 
osc_item_zip() != '' ) && ( osc_item_zip() != null ) ) { $addr[] = osc_item_zip(); }
            if( ( 
osc_item_region() != '' ) && ( osc_item_region() != null ) ) { $addr[] = osc_item_region(); }
            if( ( 
osc_item_country()  != '' ) && ( osc_item_country()  != null ) ) { $addr[] = osc_item_country(); }
            
$address implode(", "$addr);
        
?>


Code: [Select]
<iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.it/maps?q=<?php echo $address?>&output=embed"></iframe>
No api here?  :D
« Last Edit: June 07, 2018, 09:12:29 pm by p206ab »

Summerpixie

  • Newbie
  • *
  • Posts: 28
Good idea.P206ab  :D

p206ab

  • Sr. Member
  • ****
  • Posts: 343
I've updated the code above, it works for me. ;)

BritWeb

  • Hero Member
  • *****
  • Posts: 770
  • If it ain't broke, don't fix it.
I've updated the code above, it works for me. ;)

Brilliant!

Thank you, p206ab

yuvi087

  • Newbie
  • *
  • Posts: 2
In Which File, i am insert this code?

p206ab

  • Sr. Member
  • ****
  • Posts: 343
In Which File, i am insert this code?

Item.php of your theme, the part where map is displayed.

BritWeb

  • Hero Member
  • *****
  • Posts: 770
  • If it ain't broke, don't fix it.
In Which File, i am insert this code?

This is the way I did it

Referring to the 'Bender' theme do as below

Place the map code just above the closing PHP tag as shown on item.php file

Code: [Select]
osc_current_web_theme_path('header.php');
// for map
$addr = array();
            if( ( osc_item_address() != '' ) && ( osc_item_address() != null ) ) { $addr[] = osc_item_address(); }
            if( ( osc_item_city()  != '' ) && ( osc_item_city()  != null ) ) { $addr[] = osc_item_city(); }
            if( ( osc_item_zip() != '' ) && ( osc_item_zip() != null ) ) { $addr[] = osc_item_zip(); }
            if( ( osc_item_region() != '' ) && ( osc_item_region() != null ) ) { $addr[] = osc_item_region(); }
            if( ( osc_item_country()  != '' ) && ( osc_item_country()  != null ) ) { $addr[] = osc_item_country(); }
            $address = implode(", ", $addr);
?>


Place this button code where you would like to place a link for the map


Code: [Select]
<a class="btn btn-default btn-xs" style="border:#4a80f5solid thin; background:#4a80f5; color:#fff" role="button" href="https://maps.google.it/maps?q=<?php echo $address?>" target="_blank"><i class="fa fa-map-marker"></i> See on map</a>

Kind regards
« Last Edit: July 16, 2018, 09:42:12 pm by BritWeb »