From ddd23a46f6e53548969d35056c63f5627d6437dc Mon Sep 17 00:00:00 2001 From: cheesegrits Date: Fri, 5 May 2023 20:11:50 +0000 Subject: [PATCH] chore: fix code style --- src/Fields/Map.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Fields/Map.php b/src/Fields/Map.php index 3c41c5c..59c8f6c 100644 --- a/src/Fields/Map.php +++ b/src/Fields/Map.php @@ -77,19 +77,19 @@ class Map extends Field * Main field config variables */ private array $mapConfig = [ - 'autocomplete' => false, - 'autocompleteReverse' => false, - 'geolocate' => false, - 'geolocateLabel' => '', - 'draggable' => true, - 'clickable' => false, - 'defaultLocation' => [ + 'autocomplete' => false, + 'autocompleteReverse' => false, + 'geolocate' => false, + 'geolocateLabel' => '', + 'draggable' => true, + 'clickable' => false, + 'defaultLocation' => [ 'lat' => 15.3419776, 'lng' => 44.2171392, ], - 'controls' => [], - 'drawingControl' => false, - 'drawingModes' => [ + 'controls' => [], + 'drawingControl' => false, + 'drawingModes' => [ 'marker' => true, 'circle' => true, 'rectangle' => true, @@ -708,7 +708,7 @@ public function mapsHasJs(): bool public function mapsJsUrl(): string { - $manifest = json_decode(file_get_contents(__DIR__ . '/../../dist/mix-manifest.json'), true); + $manifest = json_decode(file_get_contents(__DIR__.'/../../dist/mix-manifest.json'), true); return url($manifest['/cheesegrits/filament-google-maps/filament-google-maps.js']); } @@ -720,7 +720,7 @@ public function mapsHasCss(): bool public function mapsCssUrl(): string { - $manifest = json_decode(file_get_contents(__DIR__ . '/../../dist/mix-manifest.json'), true); + $manifest = json_decode(file_get_contents(__DIR__.'/../../dist/mix-manifest.json'), true); return url($manifest['/cheesegrits/filament-google-maps/filament-google-maps.css']); }