rvalitov / widgetkit-map-ex

Responsive version of Yootheme's Map Widget (Widgetkit2) with center map point and advanced features
GNU General Public License v3.0
22 stars 3 forks source link

Problems with original zoo maps #77

Closed mstego1 closed 5 years ago

mstego1 commented 5 years ago

Expected behavior

Map controls and load marker

Actual behavior

Hi guys. Ive got a problem with zoo maps. When I install widgetkit-map-ex, it became to cut map controls instruments on zoo pages and marker doesn't upload from the first page's loading. I need to reload make a few times to see the market. If i dump widgetkit-map-ex files, zoo maps would work correct. Can I have a solition to fix this problem?

System information

CMS type: Joomla 3.9 Version of the widget: 2.9.20

rvalitov commented 5 years ago

Hi! I can check this next week. Meanwhile can you please post a screenshot here?

mstego1 commented 5 years ago

thanks. Some links are here http://test.dipmall.ru/index.php/test1/item/test1 http://test.dipmall.ru/index.php/test2/item/test2 With widgetkit-map-ex-master it looks like: with-mapex With no: no-mapex

можно на русском продолжить общение, если это корректно здесь. просто я думаю такая проблема у всех. на нескольких шаблонах тестировал.

rvalitov commented 5 years ago

Thank you, it's better to use English. I checked the errors in the JS console and see the following:

image

Have a look at this message:

You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.

It says that you included Google Maps several times on the same page. That's the problem: only the first call to Google Maps API works, the second call is made by the MapEx widget and it fails. I checked the source code of your web page and see the following:

<script src="//maps.google.com/maps/api/js?sensor=false&amp;language=en&amp;key=AIzaSyCnLxFew7mwjdXYKvjHUN5Dp93-Cb3Ky_Y"></script>
<script src="https://maps.google.com/maps/api/js?key=AIzaSyCnLxFew7mwjdXYKvjHUN5Dp93-Cb3Ky_Y"></script>

The code above should NOT be there. Please, remove it: if you added it manually, then just delete it, if you use some other components for Google Maps other than Zoo and Widgetkit - disable them.

rvalitov commented 5 years ago

If you still face this problem, please reopen this issue