@include('layouts.components.section-marker', ['section_name' => $mapCenter->description])
Estas coordenadas e o nível de zoom definem o mapa utilizado para marcar a localização das lojas, tanto no backend como no frontend pelos comerciantes.
Latitude do centro
@if ($errors->has('map_center.lat'))
{{ $errors->first('map_center.lat') }}
@endif
Longitude do centro
@if ($errors->has('map_center.lng'))
{{ $errors->first('map_center.lng') }}
@endif
Nível de zoom (Pré-definido: 13)
@if ($errors->has('map_center.zoom'))
{{ $errors->first('map_center.zoom') }}
@endif
@include('cfg_system_settings.partials.map-center-picker', [
'pickerId' => 'map-center-picker',
'latitudeInputId' => 'map_center_lat',
'longitudeInputId' => 'map_center_lng',
'zoomInputId' => 'map_center_zoom',
'initialLatitude' => $mapCenter->value['lat'],
'initialLongitude' => $mapCenter->value['lng'],
'initialZoom' => $mapCenter->value['zoom'],
])