-
Forum
-
Zh OpenStreetMap
-
Plugin
-
Maps in tabs
Maps in tabs
-
esedic
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 7
-
Thank you received: 0
-
-
5 years 4 months ago - 5 years 4 months ago #12010
by esedic
Last edit: 5 years 4 months ago by esedic.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4605
-
Thank you received: 460
-
-
-
-
-
5 years 4 months ago - 5 years 4 months ago #12017
by Dima
Hi.
Thanks, I can see all works fine (not my error messages) that only map#2 doesn't work due to hyphen.
I fixed it, just check in extension manager for new version of plugin.
Last edit: 5 years 4 months ago by Dima.
Please Log in or Create an account to join the conversation.
-
esedic
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 7
-
Thank you received: 0
-
-
5 years 2 months ago #12069
by esedic
Hi!
Again I have a javascript error when displaying map in K2 item with ZHOM content plugin:
ZhJQ_com_k2_item_14749_0_4_map is not defined
See
www.mklj.si/ljubljanske-zgodbe/kulturna-...iscina-na-zemljevidu (this is production site with code compression & minification).
Map on this page was working, I think after last update this error appeared (not sure though).
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4605
-
Thank you received: 460
-
-
-
-
-
5 years 2 months ago #12072
by Dima
Hi.
Your core stripes it.
My code like
var ZhJQ = jQuery.noConflict();
var map, popup;
var zhomObjMgr;
var latlng;
var routedestination, routedirection;
var mapzoom;
var userContactAttrs = 'name,position,address,phone,mobile,fax,email';
var icoIcon='https://test.zhuk.cc/administrator/components/com_zhosmmap/assets/icons/';
var icoUtils='https://test.zhuk.cc/administrator/components/com_zhosmmap/assets/utils/';
var icoDir='administrator/components/com_zhosmmap/assets/icons/';
As I can see your code like
var ZhJQ_com_k2_item_14749_0_4_map = jQuery.noConflict();
was removed by your script optimizer
Please Log in or Create an account to join the conversation.
-
Forum
-
Zh OpenStreetMap
-
Plugin
-
Maps in tabs
Time to create page: 0.097 seconds