google maps - real question this time

Posted on 2013-06-09
Medium Priority
Last Modified: 2013-06-15
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.
Question by:Robert Saylor
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4

Author Comment

by:Robert Saylor
ID: 39233410
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.
LVL 53

Assisted Solution

COBOLdinosaur earned 2000 total points
ID: 39233561
Post a link please.  We don't really like stumbling around in the dark making guesses.


Author Comment

by:Robert Saylor
ID: 39233594
I will have to post part of the code. It's part of a 2 year project I have been working on.

Accepted Solution

Robert Saylor earned 0 total points
ID: 39234375
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.

Author Closing Comment

by:Robert Saylor
ID: 39249718

Featured Post

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question