12,276 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
15
views
Keeping BLE and GPS active in background with screen locked (React Native + Expo)
I’m developing a mobile app in React Native using Expo, and I’m testing it through an EAS development build (not Expo Go). The app uses Bluetooth Low Energy (BLE) to communicate with an external ...
0
votes
1
answer
104
views
Python moving point with pyproj.Geod.fwd and checking with pyproj.Geod.fwd do not add up
I have a g_w = pyproj.Geod(ellps = "WGS84"), and a point in the map.
If I move the point with
c1 = g_w.fwd(coords[0], coords[1], 0, dy)
c2 = g_w.fwd(c1[0], c1[1], 90, dx)
and then check the ...
0
votes
2
answers
66
views
Electron: Alternative to navigator.geolocation.getCurrentPosition without API key? [closed]
In my Electron app, navigator.geolocation.getCurrentPosition() always fails. It seems that Electron (Chromium) no longer provides free geolocation and expects a third-party service with an API key (e....
0
votes
0
answers
52
views
React native location getting feature
I want to add feature in my app where a salesperson logs in and goes out daily to meet random customers and sell banking products. My boss wants a way for the manager to confirm whether the ...
Best practices
0
votes
3
replies
148
views
Converting place/location into timezone
I am using XYZ geoLocation IP details provider API and it giving output in below format
{
"ipAddress": "66.XXX.YY.XXX",
"network": "66.XXX.YY.Z/AB",
...
0
votes
0
answers
24
views
Google Geolocation API Fails when I send many BSSIDs, but picking a random subset works
I am using Google's Geolocation API to resolve a list of Wi-Fi BSSIDs to location; when I send a list of 45 BSSIDs and RSSI, I get a 404 meaning no location was found, when I select only the top 10 or ...
-4
votes
1
answer
130
views
I have a very long list of cities across many countries. How can I add geographical information such as municipality, state, region, etc.? [closed]
I have a column that contains the place of residence of participants. Some reported as "city/village, country", "postcode city, country", "region, country", etc. There ...
0
votes
0
answers
46
views
GPS Speedometer React Native gets throttled by phone
I've been trying to implement a speedometer app that measures your GPS coordinates and returns the speed. Now, I've been using expo-location package but it has some problems.
const { status } = ...
0
votes
0
answers
45
views
ASP.NET MVC Navigator.geolocation.getcurrentlocation sometimes remembers last location and is not refreshed
I have a webpage which allow a user to walk around and click a button to find their position on a map. This can be very accurate but often, if they have clicked the button before, it returns the same ...
0
votes
0
answers
184
views
iOS Terminates Background Task After 30 Seconds in Release — How to Keep Getting Location Every 10 Minutes?
I'm developing a React Native app that collects location every 10 minutes in the background. On iOS, everything works fine in debug mode, but in release mode, my app is suspended or killed after ~30 ...
2
votes
1
answer
62
views
How to fix the error: The named parameter 'settings' isn't defined when invoking Geolocator.getCurrentPosition
The error:
The named parameter 'settings' isn't defined.
The code:
Future<Position?> getCurrentLocation() async {
if (_permissionStatus != LocationPermission.always && ...
0
votes
2
answers
94
views
Calculating the closest intersection based upon latitude and longitude
I have a geojson file containing the latitude and longitude coordinates of all of the streets and avenues in New York City - they're all formatted as either LineString and MultiLineString as follows:
{...
-2
votes
1
answer
64
views
How to run a code inside GitHub Actions as it is running outside the USA location? [closed]
I want to get an API call response inside GitHub Actions for example:
url = https://api.blabla.com/endpoint
response = requests.get(url)
print('response =', response)
I want to find a way to run ...
0
votes
1
answer
159
views
Why do I keep getting errors when attempting to get current position in JavaScript?
I have an html, css, js project with a map using leaflet. Sometimes location works but most of the time I get errors. Here is my JS code:
onst map = L.map('map').setView([30, 0], 3);
L.tileLayer('...
0
votes
1
answer
89
views
MapTiler SDK markers move across the map when scrolling
I'm trying to create markers using the MapTiler SDK. I have a map component that displays a MapTiler map, and in its TypeScript file, I'm adding markers like this:
const marker = new maptilersdk....