Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

105
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda