@extends('backend.layouts.app') @section('title', @$data['title']) @section('content') {!! breadcrumb([ 'title' => @$data['title'], route('admin.dashboard') => _trans('common.Dashboard'), '#' => @$data['title'], ]) !!}
@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

{{ _trans('error.Please set google map API Key') }}

{{ _trans('common.Update Configuration') }}

Create a Google Cloud Platform (GCP) Project:

  1. Go to the Google Cloud Console.
  2. If you're not already signed in, sign in with your Google account.
  3. Click the project drop-down at the top left of the page and then click "New Project".
  4. 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:

  1. In the GCP Console, navigate to the "APIs & Services" > "Library" section.
  2. Search for "Google Maps JavaScript API" and click on it.
  3. Click the "Enable" button.

Create an API Key:

  1. In the "APIs & Services" > "Credentials" section, click on "Create Credentials".
  2. Select "API key" from the drop-down menu.
  3. 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
@endsection @section('script') {{-- @dd() --}} {{-- --}} @endsection