OS Property support center

Map module does not display on jQuery function

  • Adrián
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 3 weeks ago #61702 by Adrián
Hi again!

I need to make map module display when the users wants in the listing properties page so either you see the properties or the map module. I used the links that make listing or grid view to achive this, and I used .show() and .hide() jQuery functions in order to display one at a time.

But when I show the map (specifically: <div class="map">) it loads partially, just like the image.

Is the script not loading right when the div is display:none?

Attachments:

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

More
10 years 3 weeks ago #61703 by Mr. Dam
Hi,
You can't just simple to use .hide() and .show() jQuery function. Because Google Map won't fit the frame. Please select another solution
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan