From c1dbdfc7f310f633a2ab3dc7ac3f4898fb650e89 Mon Sep 17 00:00:00 2001 From: Gustavo Luigi <=> Date: Tue, 6 Jun 2023 09:10:35 -0300 Subject: [PATCH] . --- content/index.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/index.blade.php b/content/index.blade.php index cd5c5dd..8b6995d 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -147,7 +147,7 @@ let openInfoWindow = null; currentItems = currentItems.map(function (item) { - item.location = {}; + if(item.location == undefined) item.location = {}; item.location.lat = parseFloat(item[locationField].lat); item.location.lng = parseFloat(item[locationField].lng); let marker = new google.maps.Marker({