@extends('dashboard.layouts.app') @section('title', 'Pengaturan Layer') @section('content')
@if(session('success')) @endif @if(session('error')) @endif

Pengaturan Layer

Konfigurasi warna dan tampilan layer pada peta

Konfigurasi Warna Batas Kecamatan
@csrf
@forelse ($kecamatans as $kecamatan) @php $color = $colorConfig[$kecamatan] ?? [ 'fill' => 'rgba(231, 76, 60, 0.1)', 'stroke' => '#e74c3c', 'strokeWidth' => 2 ]; @endphp
{{ $kecamatan }}
Format: rgba(r, g, b, opacity)
Format: #hex atau rgba()
1-10 pixel
Contoh tampilan
@empty
Tidak ada data kecamatan ditemukan di file GeoJSON.
@endforelse
@if(count($kecamatans) > 0)
@endif
@endsection