Cirilla Documentations

  1. Home
  2. Docs
  3. Cirilla Documentations
  4. Features
  5. Geo location

Geo location

This feature enables users to view products and vendors near their current location.

Create API key

  1. Go to the API Console.
  2. From the projects list, select a project or create a new one.
  3. If the APIs & services page isn’t already open, open the left side menu and select APIs & services.
  4. On the left, choose Credentials.
  5. Click Create credentials and then select API key.

Enable APIs

  1. Go to the API Console.
  2. From the projects list, select a project or create a new one.
  3. If the APIs & services page isn’t already open, open the console left side menu and select APIs & services, and then select Library.
  4. Click the API you want to enable. If you need help finding the API, use the search field.
  5. Click ENABLE.

Please enable the following APIS:

Update API key

Open file: cirilla/lib/constants/credentials.dart

and replace YOUR_API_KEY to your api key create above.

Setting App builder

Enabling Allow location screen

Allow location screen will be displayed when you first run the app

Video

Enabling Location in the Home Screen Appbar

This location button show current GEO location and can select other GEO location

Video

FAQs

Was this article helpful to you? Yes No

How can we help?