12,301 questions
0
votes
0
answers
62
views
Calculating latitude and longitude from a single GNSS constellation [closed]
I am trying to find a fast and reliable way to calculate latitude and longitude of an Android smartphone using a single GNSS constellation (For example BeiDou).
What I have done so far:
Collect raw ...
0
votes
0
answers
78
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
45
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
64
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
47
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
102
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
0
answers
38
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....
0
votes
0
answers
21
views
How do I render markers in react-native-markers using an api call based on a user's location?
fairly new to React Native so please forgive my ignorance. I'm trying to take a user's location, call supabase to obtain nearby locations and plot them as markers in react-native-maps. The challenge I'...
0
votes
1
answer
125
views
Error at accessing Azure Maps Geographic API Endpoints from Web query in PowerBI
I try to use the azure maps endpoint, but i am unable to access any of the endpoints from PowerBI with the Azure Maps "primary key" from my Azure Maps account instance.
https://eu.atlas....
-1
votes
1
answer
77
views
How to improve ip-api locator [closed]
I am trying to make a python IP locator, which currently relies on this function:
def get_location(ip_address="", show_duplicates=True):
url = f"http://ip-api.com/json/{ip_address}&...
0
votes
0
answers
62
views
Android Emulator WebView does not see changed geolocation until I open the same page in Chrome
I have a barebones Android App with a WebView which loads a web page that wants to use geolocation.
All required permissions requested and granted. The web page gets the geolocation, but gets stuck on ...
0
votes
1
answer
62
views
Geolocation with OpenLayers
I'm working with Remix on an OpenLayers project.
Utilizing navigator watchPosition, some layers and features, I can easily track the user's position, move the user's marker, and adjust the center of ...
2
votes
0
answers
65
views
Google Places Autocomplete always returns Canadian addresses, even when setting a US location/bias
I’m using flutter_google_places_hoc081098 (or the official Android Places SDK) to autocomplete addresses in my Flutter app. Despite explicitly setting country filters or lat/lng bias for the United ...
0
votes
1
answer
65
views
How to fetch and save the device location periodically while the Flutter app is closed
Recently, I came across a situation where I needed to save the user's current device location every hour. This needs to happen while the app is completely closed (not just minimized or running in the ...
0
votes
1
answer
24
views
requestWhenInUseAuthorization - missing authorisation popup in simulator
The call of requestWhenInUseAuthorization method is ignored in simulator.
The required description is set:
Features -> Location -> Custom Location is also set
now I can't get any further here, ...