no complete map

  • ClemSchn
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 2 weeks ago #12639 by ClemSchn
no complete map was created 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
Attachments:

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

More
5 years 2 weeks ago - 5 years 2 weeks ago #12649 by Dima
Replied by Dima on topic no complete map
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.

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

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

  • ClemSchn
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 2 weeks ago #12654 by ClemSchn
Replied by ClemSchn on topic no complete map
Hello Dima,

you can see this problem at: test.c-schnitzler.eu/index.php/fotografi...ahnhof-niedernhausen

First i am at the tab Landkarte, then i change to Bildergalerie, there i actualize the browser window and then, when i go back to Landkarte the map is not displayed correct.

Regards Clemens

Please tell me if you need a login to the backend.

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

More
5 years 2 weeks ago - 5 years 2 weeks ago #12659 by Dima
Replied by Dima on topic no complete map
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.

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

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

More
5 years 2 weeks ago #12666 by Dima
Replied by Dima on topic no complete map
Hi.

I did new release, and some explanation

zhuk.cc/2019/11/06/zh-openstreetmap-feat...hen-display-on-tabs/

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.

  • ClemSchn
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 2 weeks ago #12667 by ClemSchn
Replied by ClemSchn on topic no complete map
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.

Time to create page: 0.211 seconds
Powered by Kunena Forum