Link to home
Start Free TrialLog in
Avatar of easycapital
easycapitalFlag for Macao

asked on

HTML code for Google map

Dear Support,

Looking for HTML that show the google map with a flag on a specific address.
Issue: I do not want a Google account to be displayed above or around the map, when using the code.

Best regards,
JP
Avatar of Tom Beck
Tom Beck
Flag of United States of America image

Here's a sample of the map you describe. I'm sure it violates some agreement you make with Google in exchange for using their service so be advised. They will not like having their brand removed from the map.

http://jsfiddle.net/asL63aq4/1/
Google terms of use prohibit the removing of the Google logo. You are also prohibited from using their API to show a map that is not on a publicly accessible website (i.e. you can't have it behind a login) or where a fee is required to access the website. You also cannot use the API for asset tracking.

For the above you would require a license from them which comes with a charge.

If you want to display a map with more open terms of use take a look at OpenLayers and OpenStreetMaps

http://openlayers.org
http://www.openstreetmap.org
Avatar of easycapital

ASKER

Dear Tom,

I do not want to remove their brank.
I just want to remove that it says my Google User Name.

Br,
Juan
I don't know what you mean by "Google User Name"  but I suspect it's something that only shows up when you are logged in to a Google account,

This is a plain Google map with all controls visible. Do you see it here? Are you logged in to a Google account?

http://jsfiddle.net/asL63aq4/2/
Ok. For example:
This is the code I obtain from Google to display the map.
<iframe src="https://www.google.com/maps/d/embed?mid=zZi9xR6ATC3U.k8Ifwgll8yR8" width="100%" height="100%"></iframe>
¨
How can I have the map zoom out so it appears as in the attached image #1 and not at #2?

Br,
Juan
Capture-1.PNG
Capture-2.PNG
ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the points.

Please take some time to read the grading guidelines (http://support.experts-exchange.com/customer/portal/articles/481419)

"...When closing the question, the asker should explain why a B grade was awarded."
B was geaded because I did not obtain desired result. But good info.