12,280 questions
0
votes
0
answers
16
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
106
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
35
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
37
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
148
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
57
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
76
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
57
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
142
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
72
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....
1
vote
0
answers
24
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
182
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
84
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
72
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
69
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 ...