@php
$company_configs = DB::table('company_configs')->where('key', 'google')->first();
$company_configs = $company_configs ? $company_configs->value : '';
@endphp
@if ($company_configs != '')
{{ _trans('common.Live Location Tracking') }}
@else
Create a Google Cloud Platform (GCP) Project:
- Go to the Google Cloud Console.
- If you're not already signed in, sign in with your Google account.
- Click the project drop-down at the top left of the page and then click "New
Project".
- Enter a name for your project, select an organization (if applicable), and choose a
billing account. Click "Create" to create the project.
Enable the Google Maps JavaScript API:
- In the GCP Console, navigate to the "APIs & Services" > "Library" section.
- Search for "Google Maps JavaScript API" and click on it.
- Click the "Enable" button.
Create an API Key:
- In the "APIs & Services" > "Credentials" section, click on "Create
Credentials".
- Select "API key" from the drop-down menu.
- Your API key will be displayed on the next screen. Make sure to restrict the usage
of
your API key for security purposes (optional but recommended).
@endif