From 0ca9efa347fdff30f8a8af4498e4c3ad95679da7 Mon Sep 17 00:00:00 2001 From: VREEdom <35516476+vonsogt@users.noreply.github.com> Date: Sun, 21 Nov 2021 22:04:59 +0700 Subject: [PATCH 1/3] Update Google.php https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required --- src/Map/Google.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Map/Google.php b/src/Map/Google.php index 0b8771a..006182c 100644 --- a/src/Map/Google.php +++ b/src/Map/Google.php @@ -7,7 +7,7 @@ class Google extends AbstractMap /** * @var string */ - protected $api = '//maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&key=%s&libraries=places'; + protected $api = '//maps.googleapis.com/maps/api/js?v=3.exp&key=%s&libraries=places'; /** * {@inheritdoc} @@ -96,4 +96,4 @@ function init(name) { })(); EOT; } -} \ No newline at end of file +} From f2db927a7db39057244afe9db3685fb66dd50f02 Mon Sep 17 00:00:00 2001 From: VREEdom <35516476+vonsogt@users.noreply.github.com> Date: Sun, 21 Nov 2021 22:39:41 +0700 Subject: [PATCH 2/3] Update latlong.blade.php to avoid error "Map: Expected mapDiv of type HTMLElement but was passed null." --- resources/views/latlong.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/latlong.blade.php b/resources/views/latlong.blade.php index 59c56ec..834dea3 100644 --- a/resources/views/latlong.blade.php +++ b/resources/views/latlong.blade.php @@ -8,10 +8,10 @@