@extends('admin.layouts.app') @section('title', 'Proximity Landmarks') @section('breadcrumb') Spatial Intelligence / Landmarks @endsection @section('content') @include('admin.spatial._tabs')
Landmarks
@forelse($landmarks as $landmark) @empty @endforelse
Name State Type Source Status Actions
{{ $landmark->name }} {{ $landmark->state?->code ?? '—' }} @php $lmColors = [ 'metro_station'=>'badge-blue','railway_station'=>'badge-purple','highway'=>'badge-orange', 'airport'=>'badge-teal','hospital'=>'badge-red','school'=>'badge-green', 'shopping_center'=>'badge-purple','business_district'=>'badge-orange', 'water_body'=>'badge-blue','industrial_zone'=>'badge-gray', ]; @endphp {{ str_replace('_', ' ', ucfirst($landmark->landmark_type)) }} {{ $landmark->data_source ?? '—' }} {{ $landmark->is_active ? 'Active' : 'Inactive' }}
@csrf @method('DELETE')
No landmarks configured
{{ $landmarks->links('vendor.pagination.admin') }}
@endsection