Search code examples
google-mapsgoogle-maps-markers

Google Maps - Multiple Markers via URL only


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?


Solution

  • Well, it is possible without directions. just add at the end: //@ . example:

    https://www.google.com/maps/dir/33.93729,-106.85761/33.91629,-106.866761/33.98729,-106.85861//@34.0593359,-106.7131944,11z