A Google Maps Plugin for Shopware Custom Shopping World Element, Features include :-

Custom Marker Icons
Multiple Locations
Custom Theme for map display
Map customization and much more…

Categories: Shopware

2 Comments

Gerard Fígols-Cuevas · February 22, 2019 at 5:48 pm

Hello,

We are trying to use your plugin “Google Maps – Extended” for Shopware v. 5.5.6 but we are getting the following error:

Uncaught TypeError: Cannot read property ‘DirectionsRenderer’ of undefined
at HTMLDivElement. (1550856820_90420b4c31f7deaeb77527ab0e26125a.js:806)
at Function.each (1550856820_90420b4c31f7deaeb77527ab0e26125a.js:5)
at w.fn.init.each (1550856820_90420b4c31f7deaeb77527ab0e26125a.js:5)
at w.fn.init.$.fn.TcbGmaps (1550856820_90420b4c31f7deaeb77527ab0e26125a.js:805)
at HTMLDivElement. (1550856820_90420b4c31f7deaeb77527ab0e26125a.js:819)
at Function.each (1550856820_90420b4c31f7deaeb77527ab0e26125a.js:5)
at w.fn.init.each (1550856820_90420b4c31f7deaeb77527ab0e26125a.js:5)
at FireTcbGMaps (1550856820_90420b4c31f7deaeb77527ab0e26125a.js:819)
at Object. (1550856820_90420b4c31f7deaeb77527ab0e26125a.js:820)
at Object.dispatch (1550856820_90420b4c31f7deaeb77527ab0e26125a.js:5)

From the piece of code which is producing the error:

var directionsDisplay=new google.maps.DirectionsRenderer();

it can be deduced that the “google.maps” object has not been initialised for some unknown reason.

The version of Shopware we are running:

Shopware 5.5.6
Build Rev 201901211535

Professional Edition under commercial / proprietary license

We would appreciate any information to solve this problem.

Best regards.

    TheCodeBunny · February 22, 2019 at 5:52 pm

    Hello,

    Thank you for contacting again, please see the support ticket you opened in Shopware for details. I have already pushed an update.

Leave a Reply

Your email address will not be published. Required fields are marked *

TheYogaShop.