-
Forum
-
Zh OpenStreetMap
-
Plugin
-
Map does not load when plugin is called in other module (tab)
Map does not load when plugin is called in other module (tab)
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
4 years 1 month ago - 4 years 1 month ago #13098
by Dima
check ul class (is it unique on your page)
And I mistook (if id was stable you have to enter #wk-8da)
And you can try to access by class
Invalidate Map Size Container Selector: .uk-switcher
First symbol is dot, ie access by class
Last edit: 4 years 1 month ago by Dima.
Please Log in or Create an account to join the conversation.
-
Gnop
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 18
-
Thank you received: 0
-
-
4 years 1 month ago - 4 years 1 month ago #13099
by Gnop
.uk-switcher does not work....Invalidate Map Size Container not found
Please see attached screenshot where the class id changes of the ul and the rest of the oject inspecotr. I hope you can see the magic Invalidate Map Size Container Selector I am looking for
Last edit: 4 years 1 month ago by Gnop.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
4 years 1 month ago #13100
by Dima
Invalidate Map Size Container Selector: .uk-tab
Invalidate Map Size Container Index: 1
Please Log in or Create an account to join the conversation.
-
Gnop
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 18
-
Thank you received: 0
-
-
4 years 1 month ago #13101
by Gnop
I'm sorry
i keep getting Invalidate Map Size Container not found error on page load.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
4 years 1 month ago - 4 years 1 month ago #13102
by Dima
OK. Lets try again. I little mistook
Invalidate Map Size Container Selector: .uk-switcher
Invalidate Map Size Container Index: 1
But set in component options Map Initialization Type to JQuery ready event
Last edit: 4 years 1 month ago by Dima.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
4 years 1 month ago #13103
by Dima
I think my map is initialized before plugin create required ul
I think I'll add into component options delay to start initialization.
For example 2-3 seconds (ie 2000 - 3000 milliseconds) will take time to load all code.
Please Log in or Create an account to join the conversation.
-
Forum
-
Zh OpenStreetMap
-
Plugin
-
Map does not load when plugin is called in other module (tab)
Time to create page: 0.195 seconds