From e16f0ef969086df2164e75977b938b0eb488bf57 Mon Sep 17 00:00:00 2001 From: Craig Anderson Date: Thu, 5 Jan 2023 10:47:06 -0500 Subject: [PATCH] Update marker.blade.php --- resources/views/marker.blade.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/resources/views/marker.blade.php b/resources/views/marker.blade.php index 256ae09..1d8e7fa 100644 --- a/resources/views/marker.blade.php +++ b/resources/views/marker.blade.php @@ -78,7 +78,8 @@ @foreach ($options['icon'] as $key => $value) @switch($key) -@case('symbol') + + @case('symbol') path: google.maps.SymbolPath.{!! $value !!}, @break; @@ -101,14 +102,17 @@ @endif @break; - @case('fillOpacity') @case('rotation') @case('scale') - @case('strokeOpacity') @case('strokeWeight') {!! $key !!}: {!! json_encode((int) $value) !!}, @break + @case('fillOpacity') + @case('strokeOpacity') + {!! $key !!}: {!! json_encode((float) $value) !!}, + @break + @default {!! $key !!}: {!! json_encode((string) $value) !!}, @break