Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed May 5, 2023
2 parents 8dfde43 + ddd23a4 commit 8a29326
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/Fields/Map.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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']);
}
Expand All @@ -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']);
}
Expand Down

0 comments on commit 8a29326

Please sign in to comment.