Solved

Adjusting marker on embedded Google map

Posted on 2014-03-12
8
279 Views
Last Modified: 2014-03-12
A webmaster has designed a page for me, with an embedded Google Map.  The marker is slightly out of place, and I'd prefer to adjust it.  www.mauivacationrental.com/location.htm  

There is an existing Google Map for our location, whose marker is exact:
https://www.google.com/maps/place/Maui+Tradewinds/@20.915927,-156.282931,17z/data=!3m1!4b1!4m2!3m1!1s0x7eab350296215b03:0xef284bc45ffaaf1e

So I'm not sure why the marker in the embedded version doesn't correspond to this.  In any case, I'd appreciate guidance on adjusting the marker.  I've read some tutorials, but I'm unable to follow the instructions.  Those instructions specify that an "Edit" link will appear in the marker balloon, but it does not appear.
0
Comment
Question by:ddantes
  • 4
  • 4
8 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 39925183
Just increase the z parameter in the iframe to 15 or 16
0
 

Author Comment

by:ddantes
ID: 39925196
Thank you.  I increased it to 16, but that didn't move the marker.  
I found out how to do this by linking code from the accurate map to my web page.  I just didn't recognize the icon for "link" until now.
0
 
LVL 58

Accepted Solution

by:
Gary earned 300 total points
ID: 39925235
Change your iframe to this

<iframe width="425" height="350" src="https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=Maui+Tradewinds&cid=0xef284bc45ffaaf1e&amp;aq=&amp;sll=20.798363,-156.331925&amp;sspn=0.720205,1.299133&amp;ie=UTF8&amp;hq=&amp;hnear=4320+Une+Pl,+Haiku,+Hawaii+96708&amp;sll=20.915927,-156.282931&amp;spn=0.0076968,0.0109864&amp;t=m&amp;z=16&amp;output=embed"></iframe>

Open in new window

0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

Author Comment

by:ddantes
ID: 39925271
OK, the marker is perfect.  May I ask for a couple of refinements?  Where would I insert the Z index?   Can I have the info window appear only when the marker is clicked, instead of by default?
0
 
LVL 58

Expert Comment

by:Gary
ID: 39925278
Add to the end of the iframe url
&amp;iwloc=near

The z index? Do you mean the zoom?
Its already in the url.
0
 

Author Comment

by:ddantes
ID: 39925300
That worked!
I'd like to increase points a little, due to expanding the scope of the question.  I don't see any "increase points" box on this page (using IE 11).
0
 
LVL 58

Expert Comment

by:Gary
ID: 39925308
It's currently broken and should be fixed tomorrow.
I can increase if you want, just tell me how much.
0
 

Author Comment

by:ddantes
ID: 39925316
If you don't mind, make it 300 points.  And get some sleep now.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
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…

776 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