-
Forum
-
Zh OpenStreetMap
-
Component
-
no complete map
no complete map
-
ClemSchn
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 35
-
Thank you received: 0
-
-
4 years 6 months ago #12639
by ClemSchn
Hello, i am using your openstreetmap component in the latest version. I wand to display maps in tabs. When i load the site the first time the map will be displayed compete. After looking to another tab and then going back to the map ther will be only displayed a small part oft my map. How can i solve these problem?
Thank you for your help
Regards Clemens
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4611
-
Thank you received: 460
-
-
-
-
-
4 years 6 months ago - 4 years 6 months ago #12649
by Dima
Hi Clemens
Your map is on the first tab, and when you click to show the second tab, your first tab div will change style to display:none, and when you click again - display:block;
Probably your tab feature applies some height and width styles, and therefore map container changed.
Can you give direct link to check it, and I'll tell more.
Last edit: 4 years 6 months ago by Dima.
Please Log in or Create an account to join the conversation.
-
ClemSchn
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 35
-
Thank you received: 0
-
-
Less
More
-
Posts: 4611
-
Thank you received: 460
-
-
-
-
-
4 years 6 months ago - 4 years 6 months ago #12659
by Dima
I understand. Today I create map size invalidate feature - it is in Overrides.
I did it for case when map is not on first tab. And when click to show tab with map it was not correct size (like you get when change size not on active tab with map). And now it is only once executed, ie when first time click to show map. But it will not work when you change tab and after that change browser window size.
I'll add second parameter - "One time" or "Always" - when invalidate map size to get correct size.
I'll post there when I will do release with this feature.
Last edit: 4 years 6 months ago by Dima.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4611
-
Thank you received: 460
-
-
-
-
-
-
ClemSchn
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 35
-
Thank you received: 0
-
-
4 years 6 months ago #12667
by ClemSchn
Thank You, please kann you tell me what is to do exactly,
Invalidate Map Size Container Selector – what is this in my case?
Invalidate Type* what have i to select one Time or always?
I read the instructions and does this what i understood but when i reload the page there is nothing in the tab. Please have a look
test.c-schnitzler.eu/index.php/fotografi...hausen-vor-der-hoehe
Thank, you
Regards Clemens
Please Log in or Create an account to join the conversation.
-
Forum
-
Zh OpenStreetMap
-
Component
-
no complete map
Time to create page: 0.076 seconds