Google Maps - Multiple Markers via URL only

JJJones_3860 picture JJJones_3860 · Feb 15, 2016 · Viewed 23.6k times · Source

If I want to open a browser to Google Maps to center and show a single marker, I do it with a URL like this:

https://www.google.com/maps/place//@33.91729,-106.85761,10z/data=!4m2!3m1!1s0x0:0x0

But, I have 5-10 lat/long pairs that I want to show on that same map. How can I show multiple lat/long markers all specified only in a URL?

Answer

raratiru picture raratiru · Sep 4, 2016

There is an up-to-date article (updated: May 18 2017) about easily linking to locations and directions using the New Google Maps.

You could use the directions service and form a url as such:

https://www.google.com/maps/dir/33.93729,-106.85761/33.91629,-106.866761/33.98729,-106.85861

Use double slash "//" between markers to leave a position empty e.g. to set a custom start point.

Update

There is another excellent article here