Okay
  Public Ticket #2181157
Google Map API
Closed

Comments

  •  1
    Mads started the conversation

    I can't find any information about what kind of Google Maps API I need to put in.

    When I go to google to get the API it seems that there are just about 10 different Maps API to get. Which kind do I need?

  •  2,572
    Aleksandar replied

    Hello again Mads Holm Andersen.

    You would need to enable all these APIs in Google Console:

    6225836173.png

    Then you need to add a billing account? You can read more about this here.

    After that, simply insert it on Google Map API Key option in General settings.

    Unfortunately, this is the only way of getting the maps to work correctly. I'll add a link that explains why (it's not up to us, but instead is implemented by Google):

    https://medium.com/swlh/billing-for-all-google-maps-api-price-rise-f80cdd9e5017

    Here's the explanation:

    Google has recently announced the launch of its new Google Maps Platform, which “introduces changes to their products, pricing, and support to provide…greater flexibility, transparency, and control.” These changes will affect every individual and every company which is using Google Maps and its API to power functionality on their websites.

    The changes to Google Maps kicked in on June 11th, 2018 and require users to create a valid API key for each of their web projects that use Google Maps to display data. You’ll also need to enable billing with a credit card in much the same way that you need to add your credit card details before you start running Google AdWords. Google says that by doing this, you’ll also be able to scale up and down more easily with less downtime and fewer performance issues on your website.

    These new requirements mean that Google has stopped offering support for any requests that don’t include an API key. Now that these changes have taken place, calls to the Maps JavaScript API and Street View API return only poor quality maps with a watermark. Invalid requests to the Maps Static API, Directions API, Distance Matrix API, Geocoding API, Geolocation API, Places API, Roads API, and Time Zone API will all return an error.

    Best regards.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables