+ Reply to Thread
Results 1 to 5 of 5

Thread: Switching to new pay-as-you-go Google Maps Platform

  1. #1
    Senior Member
    Join Date
    Jun 2013
    Posts
    174

    Switching to new pay-as-you-go Google Maps Platform

    I never switched over to the new pay-as-you-go Google Maps. Still have the same API keys and now Google Maps isn't working on my site.

    - does Flynax have any new instructions on creating API keys for the new Google Maps Platform? Or are the instructions the same from this post back in 2015?

    https://forum.flynax.com/showthread....ghlight=google

    - when I create the new Google Maps Platform account, must I select Maps, Routes and Places? Or is it okay to leave out Places?

    Thank you,
    Ron

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    970
    Hello,

    Here is a guide with more details how to generate google api keys:

    1. Go to https://console.developers.google.com and open Google Console Account.

    2. Click Google Map > "Create Project" button, enter Project name and click "Create".

    3. On the project page go to sidebar > APIs & Services > Libraries > Enable APIs and services > choose and enable the following api's:

    - Maps Geocoding API
    - Maps JavaScript API
    - Static Maps API
    - Places API Web Service
    - Street View Image API (if you use Street View plugin)

    4.
    Then go to "Credentials" section (in sidebar menu) and click "Create Credentials" > API key > “Restrict key" in popup window > Name > for example, "Server Key"; Key restriction > IP addresses > insert IP of your server below > Create

    5. Copy server api key

    6. Go to your Flynax Admin Panel > Common > Basic Settings > Google Maps > Google Server Key > paste your server API key

    7. Go again to "Credentials" section > Create Credentials > API key > Restrict key > Name > for example, “Browser Key”; Key restriction > HTTP referrers > specify your domain below like this https://*.your-domain.com/* > Create

    8. The same way paste your browser API key into Google Maps > Google Browser Key

    9.
    Save settings


    in trial mode you should get about 100,000 free map requests from your site (if you use google api services for the first time)

    once it runs out you should enable billing account where you'll receive 200 USD credit per month (read this article about pricing)

    which you can use according to this price list: https://cloud.google.com/maps-platform/pricing/sheet/

    For Flynax script you need 4 products (sku's) overall:

    - Static Maps
    - Dynamic Street View (for Street View plugin)

    - Autocomplete (included with Places Details)
    + Places Details
    + Basic Data

    - Geocoding API
    Last edited by Rudi; January 15, 2019 at 04:33 AM.

  3. #3
    Senior Member
    Join Date
    Jun 2013
    Posts
    174
    Hi Rudi.
    Thank you for the instructions!!

    I already have a Google Maps account that I've been using for my Flynax site. Are you saying that I need to create a brand new project (ie API keys) and NOT use my current Maps project/keys? Or can I just enable billing on my current Maps project and use the current credentials?

    Thank you
    Ron

  4. #4
    Senior Member
    Join Date
    Jun 2013
    Posts
    174
    Hi Rudi.
    I noticed that you don't have Maps Geolocation API listed above. Is it okay to enable it or should we leave it disabled?

    Thank you
    Ron

  5. #5
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    970
    Quote Originally Posted by QuickRon View Post
    I already have a Google Maps account that I've been using for my Flynax site. Are you saying that I need to create a brand new project (ie API keys) and NOT use my current Maps project/keys? Or can I just enable billing on my current Maps project and use the current credentials?
    Hello,

    now you need to enable billing for your account


    Geolocation API is not required

+ Reply to Thread