Map not showing properly

  • iluvsuna
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago #3439 by iluvsuna
Map not showing properly was created by iluvsuna
Hi there, I've using zhgooglemap on my joomla 2.5 which is fine. Recently the site has been reinstalled into 3.15 and now the map is displayed like the image shown. When refreshed it is ok again. This has not occurred with 2.5. Could you check if what went wrong?

I would like to send the site file to you privately. Is this possible?
Attachments:

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

More
10 years 6 months ago #3440 by Dima
Replied by Dima on topic Map not showing properly
Hi.

I think you use map on tabs. In this case your map is published in hidden div, with its dimensions as you get a wrong map size.

When you click on tab to show map - the div is shown, but map doesn't redraw after divs shown (it size changed)

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
10 years 6 months ago #3441 by Dima
Replied by Dima on topic Map not showing properly
You can try to add code into switch code for tabs

google.maps.event.trigger(map, 'resize');

where map - it is map variable for your map. I don't know how you display map (I think by plugin), and if it true - it will not easy (I think)

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.209 seconds

Donate


Go to top