Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Adjusting marker on embedded Google map

Posted on 2014-03-12
8
Medium Priority
?
287 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 1200 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Suggested Courses

916 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