277 questions
0
votes
0
answers
34
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 ...
-1
votes
1
answer
100
views
google-api for geolocation not the same as about google maps
While using the Geocoding API, I noticed that there are differences in determining the country, which do not exist in the Google Maps web interface.
Example:
Input address: city code 300000 + CN
...
-5
votes
1
answer
113
views
Does the Google Geolocation API use triangulation or multilateration when multiple cell towers are provided?
I'm using the Google Maps Geolocation API to determine device location based on cellular data. The API allows submitting an array of cellTowers[] objects, each including fields like cellId, ...
1
vote
0
answers
87
views
How to perform SIM card geolocation using RADIUS data for 2G, 3G, and 4G?
I am trying to perform geolocation of a SIM card using cell tower data provided by the RADIUS protocol. My goal is to correctly identify the cell's (or SIM card's) location for 2G, 3G, and 4G ...
1
vote
2
answers
442
views
Google Geolocation API - red destination marker
I am learning how to use the Google Geolocation API. I have my key that tells me the latitude and longitude, I get the map of the exact location as in the image. But what I need is the map without the ...
1
vote
1
answer
61
views
I want my spinner box index to determine the zoom of the map
I am making a app that shows roadworks near the user, I have implemented a map and and a spinner box with three options I want my spinner box index to determine how zoomed in my map is. when I compile ...
0
votes
1
answer
219
views
google geolocation, valid request, but no results returned?
I have been trying to access the geolocation api to locate cell towers
I'm no expert at http posts. All I receive is the http code 404.
I have concatenated the geolocation web-address, my api-key and ...
0
votes
1
answer
213
views
FileNotFoundException: https://www.googleapis.com/geolocation/v1/geolocate?key=
I am getting FileNotFoundException in Geolocation API. I have googled it and find that it support only POST method but I am already calling in POST itself.
Please find my code snip here below,
...
1
vote
1
answer
543
views
how to convert HEIC geolocation to google lng lat format
I have saved HEIC photos taken by my iphone. I opened it and try find out the lat and lng numbers. What it shows is completely different to the format shown in google and it is not searchable.
How do ...
0
votes
0
answers
50
views
Google Maps as underlying map in React
I have a caricatured map of a downtown. I would like, in my app, to show the user's location on this map, using google maps as the underlying map. Is it possible? If so, how do I map the user's ...
0
votes
0
answers
107
views
Google geolocation api quest
I sent the base station information of location A to the Google geolocation api, but it returned the latitude and longitude values of location B. In this case, can you tell me how to request re-...
0
votes
0
answers
55
views
Need help solving Geolocation error in JavaScript for distance calculation with Haversine formula
Hello fellow developers,
I'm currently working on a web application that involves checking the user's location and calculating the distance from a specified region using the Haversine formula. The ...
1
vote
1
answer
906
views
How to get nearest cities with Google Nearby API?
I'm working in a project where I should display all cities (locality) around 20km from a device location using lat,long.
Moreove, the locality of the device location is not on the result.
Could ...
0
votes
1
answer
325
views
How to store latitude and magnitude at current time in flutter firebase?
Problem is that I want to store customer latitude and longitude to find the distance between admin and customer, but if customer move then how I'll change the distance. Should I have to update again ...
0
votes
1
answer
77
views
Problem with a code trying to retrieve all addresses within a specified region (Geolocator API)
I have written this code addressing to Geolocator API of Google Maps and it is not functional. Note that as an entry level devoloper I do this through Google collabs.
`import requests
import smtplib
...
0
votes
0
answers
62
views
How to find the name and coordinates of the place we are nearby?
In Flutter what is the most correct method to find the name and coordinates of the place we are inside now using Google Maps or Google Geolocation API?
searchNearbyWithRadius() seems to be such a ...
2
votes
0
answers
533
views
Flutter: Geolocator gives wrong location
When I execute, (click on the "show Longitude and Latitude" button) I have two problems, a wrong position and an error:
**W/GooglePlayServicesUtil( 5181): com.example.geolocalisation_youtube ...
0
votes
0
answers
2k
views
How do I pass an IP address to Google geolocation api?
I have a Django web app that deploys on Heroku, so I'm trying to get the actual user's IP, not the heroku server. Everything works fine when I run the project locally. When I deploy it to Heroku, it ...
0
votes
0
answers
90
views
Geolocation API - Is there a way to make random locations each time?
I currently have a map app that is supposed to give random locations on each press - however I am often met with 'ZERO_RESULTS'
The method part
int randomIndex = arc4random() % [arr_OfCountryCode ...
0
votes
3
answers
8k
views
Latitude + Longitude = city name, React JS
I'm building a React weather app with an API that only accepts a Latitude and Longitude, not a city name.
I'm new to React and am wondering if there's a way to transform the user input (City name) to ...
1
vote
1
answer
750
views
Google's Places API gives off results - what can I do to get more accurate results with lat and lng?
Using Google maps api, I am trying to get information at a coffee shop I am at (for example).
On google maps, it shows 30.28456,-97.71936
In the Place IDs api, I consume the api with https://maps....
0
votes
1
answer
1k
views
How to get geolocation api keys without anything
I wanted to mess around with some geolocation for some testing and needed an API key for that.
I am currently looking into the geolocation API from google/mozillas MLS geolocation. I am unable to ...
2
votes
1
answer
855
views
Is there anyway to change location accuracy value on Google Chrome when using Developter tool?
I've been trying to find different ways to spoof location on Google Chrome.
One of the ways is to use Developer tools (sensor settings).
The thing is with this method, Google allows me to choose a ...
5
votes
3
answers
19k
views
Current location on the google maps (Flutter)
I try to get current location my device and use it in initialCameraPosition,
The function is executed and I get the coordinates and set it in _currentPosition
After starting the screen i have an error:...
0
votes
0
answers
770
views
How to get client's Wi-Fi coordinates using JavaScript or nodejs or Java
Please guys help me, I had spent lot of time but unable to figure out the solution.
I want to get Wi-Fi coordinates(mac-address, signal strength, signal-to-noise ratio, channel, etc.) of the client, ...
0
votes
0
answers
633
views
How apps are getting locations when Background Restrictions are turned on?
Some android devices have options to restrict apps in the background to save battery consumption. If I will turn on this option, my app and its background service will be killed. Some apps like Uber, ...
0
votes
2
answers
421
views
Calling geolocation api in http on AWS
I am trying to build a app that requires a users current location and I acquire that with the following
const showError = (error) => {
switch(error.code) {
case error.PERMISSION_DENIED:
...
0
votes
1
answer
9k
views
"Location Permission Denied" on ios simulator even after setting custom location in Features->Location->customlocation
I am new to mobile development. I am trying to access my current location in the ios simulator running IOS 14.4 and I keep getting the "Location Permission denied" error even after setting ...
0
votes
0
answers
50
views
Is there any way to get the request made, instead of the response?
In the geolocator API, the function navigator.geolocation.getCurrentPosition() sends a POST request to the Google geolocator API, with the following json body:
{
"wifiAccessPoints":[
//...
1
vote
1
answer
969
views
position error in localization in react.js
I have the following code that takes the user's location from a google api, the detail I have is that the accuracy is too high, for example accuracy: 2600.670416166183, I don't know if someone knows ...
-1
votes
1
answer
87
views
Best way to update trail taken by user in map view android
I am using a MapView to display the current position of the user. The user is supposed to be able to move around and a blue line corresponding to his/her path will be displayed.
I am using the ...
-2
votes
1
answer
276
views
Matching Geopoints to road on map
I tried to create an app which track the current user position and I want to display it on a map.
The problem is, when I drive by car I get 2 geopoints and if there was a curve between, then it only ...
2
votes
0
answers
1k
views
MissingPluginException for Geocoding package when trying to find location from coordinates
See this question because it's very relevant.
Note: this question doesn't provide a sufficient answer, but the answer to the reference mentions the MainActivity.java-file and how it works with the ...
1
vote
0
answers
175
views
How can I achieve indoor mapping in Android application?
I have floor plans for my building and I want to track where user is moving along with the floor details, Can anyone suggest what will be useful for it? or where can I register indoor mapping details ...
0
votes
1
answer
313
views
How to fix Non-nullable instance when trying to get phones location
I'm trying to get the location of my phone with geolocation however the variable that stores location when you a press the button to get location has to be store as null at the beginning as I do not ...
0
votes
1
answer
590
views
Google geolocation api returns server location where the app is deployed
Apologies if this is weird question, but I've been trying to resolve this for a long time and I can't figure out and am little frustrated.
I'm developing a webapp and need to use Google geolocation ...
0
votes
0
answers
1k
views
Is there a way on Flutter to identify and navigate to a marker from my current Location?
I have a group of markers which I retrieved and plotted on a google maps interface.
I have also implement a geolocator package that gets users location.
So I have a current Position and a set of ...
1
vote
1
answer
4k
views
Embeding google maps in web page outputs Error message - Expected mapDiv of type Element but was passed null
Question: Embeding google maps in web page outputs Error message - Expected mapDiv of type Element but was passed null
Answer: It is very simple. The Js code InitMap function requires to be code below ...
0
votes
0
answers
2k
views
Connection to Googleapis.com Refused
I am developing an embedded c application on the nrf9160 dev kit.
My goal is to use the googleapis.com/geolocation service to provide location data for my system, but I have been unable to do so.
I ...
0
votes
1
answer
69
views
Embedded C project unable to connect to googleapis.com
I am attempting to use the googleapis.com/geolocation service with an embedded c device (nrf9160 dev kit) to locate that device using the cellular network.
I am currently unable to connect to that ...
0
votes
1
answer
237
views
Moving frontend Google API to backend
I'm using Google Geolocation API on my website. I wanted to restrict my API key, but HTTP referrer restriction for Geolocation API is not allowed (only IP restriction).
My website is hosted on cluster ...
1
vote
0
answers
409
views
How to get or displaying address and geocode Geolocation in Spreadsheets using web app google script editor?
I want to make my spreadsheets able to displaying data from web app - spreadsheet script editor (geolocation). I want to get my siblings current location. I don't want use Google Form by the way.
How ...
0
votes
1
answer
936
views
Disable location services when leaving map screen (Flutter )
I’m using this flutter package to manage location services in my flutter app : https://pub.dev/packages/geolocator
I want to disable the active state of the location service (after some seconds) when ...
-3
votes
1
answer
4k
views
Is there a way to convert meters to kilometers in dart?
i am using geolocator: ^7.3.1 package They mentioned a function that calculates the distance between two geographical points , But the result comes in meters by default
How could this be done in Km
...
0
votes
0
answers
113
views
React - How can i add Geolocation (getCurrentPosition) in my react-redux code
I would to add geolocation.getCurrentPosition in my code below using react and redux and then send the coordinates (Lat and Long) to the Local Storage but i don't have any idea !
I deleted the HTML ...
0
votes
1
answer
337
views
Google map shows blank in flutter
can anyone help me please, I'm trying to implement google map in my flutter app, the problem I'm facing is the google map shows bland with google logo only. I have generated the key, inserted plugins ...
0
votes
1
answer
309
views
Microsoft Teams Custom Tab Application - geolocation issue
I created a custom teams application using Microsoft Teams Toolkit for VS Code. I am trying to read the location from the app. I am able to load the coordinates in the Browser and Android version of ...
0
votes
2
answers
6k
views
How to get position (latitude and longitude) from a postal (zip) code in react?
I need to know what is the best way to get latitude and longitude from a postal (zip) code in react ?
I try with geocode from google API (with the npm package react-geocode), but I can't do a search ...
0
votes
0
answers
497
views
Python Selenium Change Geolocation
I am trying to trick the Python chromedriver to make it believe that it is running in a different city.
It appears someone has found an answer for this in JavaScript, but I was wondering if it is ...
-2
votes
2
answers
273
views
Geolocation value retuned from service is undefined
I have placed the geolocation call in a service which I want to use in different areas of the application. However, undefined is being returned. How do I return the value properly so that it can be ...