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

91
Vistas
JavaScript getCurrentPosition accuracy vs Android Maps app

This is on Android 11, latest Chrome (96.4664.104). I call navigator.geolocation.getCurrentPosition. If the accuracy is low I call it again. A similar geolocation object is returned, just with a new timestamp.

However if I start the Google Maps Android app between the first and the second call to navigator.geolocation.getCurrentPosition then I get a more accurate position in the second call.

Is there something I can do in JavaScript instead to get a more accurate position?

Here is the options used in the call to getCurrentPosition. The time between the calls is at least 2 seconds.

  const optPosition = {
    maximumAge: 1000,
    timeout: 1000,
    enableHighAccuracy: true,
  }
about 4 years ago · Juan Pablo Isaza
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