How to get MID from location on Google Maps?
I need to add a map to my WordPress site, but I only need to put characters after the middle = Example:
- https://www.google.com/maps/d/viewer?msa=0&mid=zYSGCTGPw92M.kZ0t92LPNDTM URL address;
- mid = zYSGCTGPw92M.kZ0t92LPNDTM - part of the URL that I need to see;
- zYSGCTGPw92M.kZ0t92LPNDTM code to place in the original Google map field.
The problem is that now, no matter what address I enter in the google map search field, this MID does not change! So in the end I get the previous address again. Can anyone give me a hint how google maps works now? How can I change this middle?
Thanks everyone, Best wishes!
source to share
For those who might get lost like me, here is the answer -> http://support.themeple.co/Faq_quare/google-maps-element-the-right-url/
Procedure for creating inline maps for insertion into a theme:
Example: 3740 Dacoro Lane Castle Rock, CO 80109 -
Correct url: https://www.google.com/maps/d/edit?mid=z3hN7mkYycnw.kUH548HocdUw
Code required for Google Maps ' item: z3hN7mkYycnw.kUH548HocdUw
How to get it:
1- Go to https://www.google.com/maps/d/u/0/ (My Maps)
2- Add New Map
3-In the search field, type your address
4- In the box shown above the pointer, click Add to Map
5- In the top left box, click on 'Untitled Map' and set a name for the new created map.
6- Link to share
7- Give permission to be viewed by everyone on web
8-Copy link and share!
9- Go back to https://www.google.com/maps/d/u/0/ (My Maps) - Open Map
10- Select your address from the list (check box)
11- Copy the code (after mid =) in the url bar!
12-Paste this code to your Google Maps element;
.. and it's done!
Respectfully!
source to share