Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

gmap shortcode broken after recent update

Home / Forums / Virtue Theme / gmap shortcode broken after recent update

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
October 4, 2023 at 11:47 pm

Hi,

I have sent multiple mails in a support thread with subject “Google Maps on contact page not working anymore”.

The problem we have is that with the recent Virtue Premium Update to 4.10.12 the gmap shortcode of the theme is broken.

Have you received our mails? This is a serious issue to us because we use the gmap shortcode on various pages.

Hence, I am posting it here too:

The browser console shows these InvalidValueError errors:

setCenter: not a LatLng or LatLngLiteral with finite coordinates: in property lat: not a number

InvalidValueError: setPosition: not a LatLng or LatLngLiteral: in property lat: not a number

I think that maybe the position parameters are used as they are (strings) instead of being parsed with parseInt(string, 10). I guess the GMaps API does not except string as input for setCenter and setPosition anymore.

I guess that is something your dev team can easily fix.

  • The forum ‘Virtue Theme’ is closed to new topics and replies.