Map does not load when plugin is called in other module (tab)

More
4 years 2 months ago - 4 years 2 months 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

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 4 years 2 months ago by Dima.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago - 4 years 2 months 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 :)
Attachments:
Last edit: 4 years 2 months ago by Gnop.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #13100 by Dima
Invalidate Map Size Container Selector: .uk-tab
Invalidate Map Size Container Index: 1

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

More
4 years 2 months 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.

More
4 years 2 months ago - 4 years 2 months 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

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 4 years 2 months ago by Dima.

Please Log in or Create an account to join the conversation.

More
4 years 2 months 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.

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.131 seconds

Donate


Go to top