-
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)
-
Gnop
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 18
-
Thank you received: 0
-
-
4 years 2 months ago - 4 years 2 months ago #13120
by Gnop
Method 1:
The ul id = set-rl_tabs-1
Then I set index to 1 (for second tab with map)
Method 2:
The unique id of the div with the map plugin = trips (div id='trips")
Index I leave empty
Both methods fail on me. Am I missing some simple setting here?
Last edit: 4 years 2 months ago by Gnop.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
4 years 2 months ago #13124
by Dima
You should not send me image. It's good to send to your page, because I need to check what item is enabled or disabled when you click on tab
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
4 years 2 months ago #13125
by Dima
in last case.
Try to use selector as #trips
I think it will be done
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
4 years 2 months ago #13126
by Dima
don't play with -active classes.
it is dynamically settings, ie when you click on tab, its class will be changed.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
4 years 2 months ago #13127
by Dima
if you want to access by classes - it have to be static class name, ie it is not changed by action.
At common sense, -active, or like it - it is change on the fly (by click) state, which can change visual style.
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 2 months ago - 4 years 2 months ago #13128
by Gnop
When I use #trips the maps is zoomed out a lot now. But the route is visible veryyy small
Last edit: 4 years 2 months ago by Gnop.
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.087 seconds