map loaded only in part

  • Luke
  • Luke's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 years 9 months ago - 3 years 9 months ago #4841 by Luke
Luke created the topic: map loaded only in part
first of all congratulations for the work done with this extension, really gorgeous!
I have a problem in loading maps... are loaded only in part, and I have to refresh the page to display correctly.

can you help me to solve this drawback?

Thanks in advance,

Luke

www.toptourofitaly.com/index.php/rome-to...istian-rome-tour#map

Attachments:
Last Edit: 3 years 9 months ago by Luke. Reason: SOLVED

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

  • Luke
  • Luke's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 years 9 months ago #4842 by Luke
Luke replied the topic: map loaded only in part
HY,
i noticed that the problem is given by the TAB and not by pluging ...
reversing the order and loading at first the map's tab it work fine...

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

More
3 years 9 months ago #4857 by Dima
Dima replied the topic: map loaded only in part
Yes, if you show map on tabs, and map in hidden tab. Because the hidden tabs have different size, and map API calculate size to show based on this size.

In this case there is need to refresh map. If you have knowledge javascript, you can add map refresh code into tabs extension, and call map refresh when you change tabs.

The other way - you can try to:
- create map page, for example with my full screen template. In this case your page will be whole map.
- add iframe tag with link to this page

I think you can get your map correctly. I'm not sure (because I didn't test map on tabs).

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

Post your sites as examples into my directory
Zh GoogleMap: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Zh YandexMap: forum.zhuk.cc/index.php/forum/ym-user-s-sites

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

Time to create page: 0.085 seconds

Donate


Go to top