-
Forum
-
Zh GoogleMap
-
Plugin
-
Map not showing properly
Map not showing properly
-
iluvsuna
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 1
-
Thank you received: 0
-
-
10 years 8 months ago #3439
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?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4611
-
Thank you received: 460
-
-
-
-
-
10 years 8 months ago #3440
by Dima
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)
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4611
-
Thank you received: 460
-
-
-
-
-
10 years 8 months ago #3441
by Dima
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)
Please Log in or Create an account to join the conversation.
-
Forum
-
Zh GoogleMap
-
Plugin
-
Map not showing properly
Time to create page: 0.179 seconds