@extends('layouts.app') @section('title', $state->name.' Live Traffic Map') @php $googleMapsKey = $googleMapsKey ?? config('services.google.maps_browser_key'); @endphp @if(! $googleMapsKey) @push('styles') @endpush @endif @section('content')
Traffic map focused on {{ $state->name }}. With a Google Maps browser key, this displays real road/highway traffic using the Google Traffic Layer.
{{ $googleMapsKey ? 'Live Google Traffic Layer is enabled. Zoom into highways and city roads to see current traffic movement and congestion.' : 'Google traffic key is not configured, so this fallback only shows saved database traffic status. Add GOOGLE_MAPS_BROWSER_KEY for live highway traffic.' }}