mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-29 13:06:03 +10:00
Line edits to documentation
This commit is contained in:
parent
3ecbb4f3b4
commit
5606d8c457
1 changed files with 6 additions and 4 deletions
|
|
@ -1,12 +1,12 @@
|
|||
# Google Maps
|
||||
|
||||
The Flex template for web can use the Google Maps API for showing a map and in searching locations
|
||||
in the search autocompletion. This document describes how to set up the API key for the API requests
|
||||
Flex Template for Web (FTW) offers out of the box support for Google Maps API for showing a map and searching locations
|
||||
with search autocompletion. This document describes how to set up the API key for the API requests
|
||||
to work properly.
|
||||
|
||||
> Note: before making the change to Google Map, you should consider if you are OK with their current
|
||||
> Note: before making the change to Google Maps, you should consider if you are OK with their current
|
||||
> pricing. There's a pricing calculator available in their
|
||||
> [pricing page](https://cloud.google.com/maps-platform/pricing/)
|
||||
> [pricing page](https://cloud.google.com/maps-platform/pricing/). FTW's default map provider is Mapbox, which is often cheaper. [Learn more about how to use Mapbox or some other map provider instead of Google Maps](https://github.com/sharetribe/flex-template-web/blob/e6034c7690c095553f44092b032689cd6b6f7546/docs/map-providers.md).
|
||||
|
||||
## Generate a Google Maps API key
|
||||
|
||||
|
|
@ -53,6 +53,8 @@ whether to use the current location from [config.js](../src/config.js). Search f
|
|||
|
||||
## Change components: use Google Map versions instead of Mapbox
|
||||
|
||||
If you wish to use Google Maps instead of Mapbox, you need to make some changes to FTW default setup.
|
||||
|
||||
### 1. Include Google Map script instead of Mapbox scripts
|
||||
|
||||
Mapbox related scripts can be removed from index.html and instead use Google Map script described in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue