google maps - real question this time

ok, I got my map showing but it won't focus on the marker. I have to scroll the map a little upwards.

Here is the iframe I am sending:

<iframe width="700" height="550" id="location84" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" 

Open in new window

See pictures below.
Robert SaylorSenior DeveloperAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

Robert SaylorConnect With a Mentor Senior DeveloperAuthor Commented:
I think it's an issue with the style.display = none because when I do not use that call it loads fine. The map is ok the user just has to scroll a little but it's very odd. I gave my client a work around by placing a link to the map that opens in a popup window. Other then that if I did not hide the map initially it loads perfect. The client is ok with that so I will close this request.

Further map calls I will most likely use there API instead of an embedded tag.
Robert SaylorSenior DeveloperAuthor Commented:
one thing I noticed the map is displayed in a TR style=display:none. When I expand it using an onclick for the table-row I have to scroll up. But if I don't hide the TR at page load the map loads correctly.
COBOLdinosaurConnect With a Mentor Commented:
Post a link please.  We don't really like stumbling around in the dark making guesses.

Robert SaylorSenior DeveloperAuthor Commented:
I will have to post part of the code. It's part of a 2 year project I have been working on.
Robert SaylorSenior DeveloperAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.