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

308
Views
MapboxGL js React - Can't locate the user on mobile device

enter image description here

var geolocate = new mapboxgl.GeolocateControl({
        positionOptions: {
            enableHighAccuracy: true
        },
        trackUserLocation: true
    });
map.current.addControl(geolocate);
map.current.on('load', function() {
    // geolocate.trigger(); //<- Automatically activates geolocation
});

[ React, mapboxgl-js ] - Locating the user works (not so accurate tho) on PC. The image shown above is from android mobile device. I've tested it both on Chrome and DuckDuckGo. What may be the reason of this behavior. Location is turned on, the site is allowed to use it, so what can I do about it

about 4 years ago · Juan Pablo Isaza
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!