Solved

google maps - real question this time

Posted on 2013-06-09
5
220 Views
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" 
			src="https://maps.google.com/maps?q=33.7782525,+-81.929402&hl=en&ie=UTF8&t=m&z=18&iwloc=A&ll=33.7782525,-81.929402&output=embed">
			</iframe>

Open in new window


See pictures below.
expert-map1.jpg
expert-map2.jpg
0
Comment
Question by:Robert Saylor
  • 4
5 Comments
 
LVL 6

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.
0
 
LVL 53

Assisted Solution

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

Cd&
0
 
LVL 6

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.
0
 
LVL 6

Accepted Solution

by:
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.
0
 
LVL 6

Author Closing Comment

by:Robert Saylor
ID: 39249718
.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now