1

I am using Google's Static Maps API to add a map image to our Client's site. I want this to click through to the main Google Maps site. How do I find out the URL to use for this link?

I've looked through the documentation, but it does not seem to be mentioned and none of the example maps have links on.

My static map image is:

<img src="http://maps.googleapis.com/maps/api/staticmap?zoom=14&size=560x370&maptype=roadmap&markers=color:red%7Ccolor:red%7Csize:small%7C51.466848,-0.1428261&sensor=false" alt="" /> 

1 Answer 1

2

Use https://maps.google.com/maps and add the lat&lng as q-parameter

https://maps.google.com/maps?q=51.466848,-0.1428261

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.