From 0e31bd3a517a6b52d48fa24231bf7d29a7ece287 Mon Sep 17 00:00:00 2001 From: cea2aj <42848445+cea2aj@users.noreply.github.com> Date: Wed, 13 Oct 2021 17:21:51 -0400 Subject: [PATCH] Revert 'Fix google maps InvalidValueError in theme' (#981) Reverts #955 because the necessary corresponding [PR in the SDK](https://github.com/yext/answers-search-ui/pull/1548) didn't make it into v1.11 J=none TEST=manual Build the test site with the new v1.11 SDK and see that the icons now look correct --- templates/universal-standard/script/map-pin.hbs | 2 +- templates/vertical-map/script/map-pin.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/universal-standard/script/map-pin.hbs b/templates/universal-standard/script/map-pin.hbs index 88f2a1d81..0ff478714 100644 --- a/templates/universal-standard/script/map-pin.hbs +++ b/templates/universal-standard/script/map-pin.hbs @@ -32,7 +32,7 @@ if (mapProvider === 'google') { config.svg = svg; {{!-- Don't use the sdk's built-in label for GoogleMapProvider --}} - config.label = ''; + config.label = {}; config.scaledSize = { w: pinStyling.width, h: pinStyling.height, diff --git a/templates/vertical-map/script/map-pin.hbs b/templates/vertical-map/script/map-pin.hbs index a59c623fc..2bf925670 100644 --- a/templates/vertical-map/script/map-pin.hbs +++ b/templates/vertical-map/script/map-pin.hbs @@ -32,7 +32,7 @@ if (mapProvider === 'google') { config.svg = svg; {{!-- Don't use the sdk's built-in label for GoogleMapProvider --}} - config.label = ''; + config.label = {}; config.scaledSize = { w: pinStyling.width, h: pinStyling.height,