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

98
Views
Google Places suggestions based on coordinates without map

Seen some related answers, wasn't sure if they are still valid(2014):

Get Google Place Details Without Map

Need to use nearbySearch() with specified coordinates and radius but without displaying and map,just get JSON data and work with it.

even Docs show the use of map to initialize the service :

map = new google.maps.Map(document.getElementById('map'), {
      center: pyrmont,
      zoom: 15
    });

service = new google.maps.places.PlacesService(map);
  service.nearbySearch(request, callback);
}

Any suggestions on how to do it without map as updated solution that apply to current terms ?

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

0

There are two ways to use nearbySearch of the Places API. The first (the one you are currently using) is the Places library that is part of the Maps Javascript API. The other one is the Web Service, which is what you are looking for:

https://developers.google.com/maps/documentation/places/web-service/search-nearby

You set the the options (radius, coordinates, json) as query parameters in the URL and it will return the data as JSON. You can use something like .fetch or axios to send the request.

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!