3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

Remove old Google Maps API key instructions.

This commit is contained in:
Michael Stenta 2020-02-21 00:13:00 -05:00
parent 6fe07dd641
commit 6ca076a98f
2 changed files with 1 additions and 47 deletions

View file

@ -1,49 +1,4 @@
# Google Maps API Key
As of June 22nd, 2016 the Google Maps API requires an API key.
This page has moved to [API Keys](/hosting/apikeys).
This means that if you are hosting farmOS yourself, you need to create an API
key in order to use the Google Maps base layers in farmOS maps. If an API key
is not provided during installation, [OpenStreetMap] will be used as the
default base layer instead.
Anyone who had a farmOS site installed before June 22nd, 2016, and was actively
using it, was automatically grandfathered in and does not need an API key:
> Existing applications have been grandfathered based on their current usage to
> ensure that they continue to function both now and in the future. We will
> also be proactively contacting all existing API key users who, based on usage
> growth patterns, may be impacted in the future. If youre an existing user,
> please take the time to read our Policy Update for Standard Plan summary for
> details on how each of these changes might affect your implementation.
[https://maps-apis.googleblog.com/2016/06/building-for-scale-updates-to-google.html](https://maps-apis.googleblog.com/2016/06/building-for-scale-updates-to-google.html)
To create an API key and add it to your farmOS, do the following:
## 1. Generate a Browser Key
[https://console.developers.google.com/apis/credentials](https://console.developers.google.com/apis/credentials)
## 2. Enable Google Maps Javascript API
[https://console.developers.google.com/apis/library/maps-backend.googleapis.com](https://console.developers.google.com/apis/library/maps-backend.googleapis.com)
## 3. Create Billing Account
The Google Maps JavaScript API is [effectively free for personal use](https://cloud.google.com/maps-platform/pricing/sheet/) (up to tens of thousands of page views per month) but as of July 2018 it does require that you attach a credit card.
Go to [https://console.cloud.google.com/billing/](https://console.cloud.google.com/billing/) and follow the instructions to create a new billing account (or link an existing one)
## 4. Enter the key into the farmOS Map configuration
**a) If you are installing farmOS for the first time**, there is a field for entering
the Google Maps API key during the "Configure farmOS" step.
**b) If you have already installed farmOS**, you can enter the API key in the map
configuration form at `/admin/config/farm/map`.
**Note that according to Google it may take a couple of minutes before a new
API key becomes active.**
[OpenStreetMap]: https://www.openstreetmap.org

View file

@ -37,7 +37,6 @@ nav:
- Getting started: hosting/index.md
- Installing: hosting/installing.md
- Updating: hosting/updating.md
- Google Maps: hosting/googlemaps.md
- API Keys: hosting/apikeys.md
- Docker: hosting/docker.md
- Localization: hosting/localization.md