A
A
Andrey Sanych2018-03-16 14:22:27
Google Maps
Andrey Sanych, 2018-03-16 14:22:27

How to convert Google Maps URL to Embed Url?

Hello. How to convert a url like this https://goo.gl/WQjakB (there will be a long link after the redirect) into an embed format for an iframe?

<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d423334.518613111!2d-118.49828136882746!3d34.01048579244039!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x80c2c75ddc27da13%3A0xe22fdf6f254608f4!2z0JvQvtGBLdCQ0L3QtNC20LXQu9C10YEsINCa0LDQu9C40YTQvtGA0L3QuNGPLCDQodCo0JA!5e0!3m2!1sru!2sua!4v1521199169220" width="800" height="600" frameborder="0" style="border:0" allowfullscreen></iframe>

Important! The rendered city borders in red should remain!
What is it for? The client copies the URL from the address bar, pastes it into the input, and an embed map is automatically generated for him. This is for those who just do not cut the hollow in iframes and all sorts of inserts.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question