Skip to main content

Google Maps

This guide shows you the basic way to configure Google Map API Key. Then you can use your Google API Key for:

  • Auto-Fill Address from Map of E-commerce apps:

  • Google Map in Product Detail screen of Listing apps:

  • Google Map in Store Settings of Manager (Vendor) or Delivery Boy apps.

To create a Google Map API Key, follow steps below:

Step 1: Create Google API Key

1. Manual Guide

If you have not got an API key yet:

  • Get an API key at https://cloud.google.com/maps-platform/ > select Get Started
  • On Google Map Platform, open Credentials page and select CREATE CREDENTIALS option.
  • After clicking API Key, the API Key Created dialog will display with the API Key which has been created automatically.
  • Copy Your API Key and go to Step 2: Edit on FluxBuilder below.

2. Important to do

Step 2: Edit on FluxBuilder

Enter all information of Step 1 to the FluxBuilder:

Step 3: Configure Maps Style

The app has the ability to customize Google Map Styles to be different between Dark and White modes.

There are more than 250 advanced customizations, and elegant Cloud-based maps styling to save development time and resources.

1️⃣ First, you should customize the map style as the steps below:

  1. Go to Styling Wizard: Google Maps APIs

  2. Click Use the legacy Json styling wizard.

  3. Select or customize the map style.

  4. Click FINISH.

  5. Click COPY JSON and save it for later use.

  6. Click COPY STATIC MAP URL and save it for later use.

2️⃣ Second, config the map style on FluxBuilder.

Steps:

  1. Open your app
  2. Go to Features > Google Maps.
  3. Input your Google API Key (refer to Step 1: Create Google API Key).
  4. In the Maps Style, input the copied JSON and URL for Style for Light Mode and Style for Dark Mode.

That’s all :)