Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7514437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:29:51+00:00 2026-05-30T00:29:51+00:00

(i changed question because i discovered this conflict) http://pedroversolato.com/EASB (the page im working on)

  • 0

(i changed question because i discovered this conflict)

http://pedroversolato.com/EASB (the page im working on)

i have a fullscreened map used as background toggled by a binded click on a link. and when the dom is ready i call a .fadeOut function on the div of the map (#map_canvas), and when you click on the link, i call a fadeIn. it works, but when i open the map it only show a little piece of the map, on the top-left corner, but i discovered a conflict between display:none (which is used by fadeOut()) with the google map

note1: to open the map on the link you go to the “contato” link and then click on the map to open the fullscreen map

is there any way to dribble that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T00:29:52+00:00Added an answer on May 30, 2026 at 12:29 am

    As I said in the other post, you need to trigger resize on the map.

    First, in your script.js file, move all of the code that initializes the map from the initialize function to the last document.ready, the same one where you set up the click event on #google_mapa. Then add a callback to the $(“#map_canvas”).fadeIn and in that callback just call google.maps.event.trigger(map, ‘resize’)

    The reason you need to do this is fadeIn/fadeOut changes the display value of the map container, which effectively takes it in and out of the DOM.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have already posted a question about this, but the situation has changed sufficiently
This question changed a lot since it was first asked because I didn't understand
Update : I have changed this question to be about the specific problem I
I know this question has been asked in the past, but times have changed
I'll rewrite a different question of mine, because the problem case somewhat changed: If
EDIT: I have changed the question as it was too localized and gained negative
This question is connected to my other question but I changed the logic a
UPDATE: Facebook's API has changed a lot since this question was posted. This question
UPDATE: I've completely changed the question because in reality, I'm having a really hard
Edit: I'm rewriting this question because I apparently wasn't clear. Sometimes the GPS service

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.