Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

137
Views
How to open google maps with multiple stops in web app?

This is what i use for opening google maps for a single stop :

$(document).on('click', 'button', function () {
    const location = "Empire state building"
    const location2 = "Washington square park"

var url = `https://www.google.com.sa/maps/search/${location}?hl=en`

window.open(url, '_blank');

});
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
</head>
<body>
<button>OPEN GOOGLE MAPS</button>
</body>
</html>

How could i include location2 in the url to make a multiple stop route?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can add multiple stops via the following format:

https://www.google.com/maps/dir/${START}/${STOP1}/${STOP2}/${END}.

You can add as many stops as you want.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!