[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

google maps - real question this time

Posted on 2013-06-09
5
Medium Priority
?
234 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
[X]
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
5 Comments
 
LVL 7

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 2000 total points
ID: 39233561
Post a link please.  We don't really like stumbling around in the dark making guesses.

Cd&
0
 
LVL 7

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 7

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 7

Author Closing Comment

by:Robert Saylor
ID: 39249718
.
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

649 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