Questions tagged [google-geolocation]

The Google Maps Geolocation API also called google-geolocation api is an web interface that can return a location and accuracy radius based on information about cell towers and WiFi nodes that the mobile client can detect.

The Google Maps Geolocation API also called google-geolocation api is an interface that can return a location and accuracy radius based on information about cell towers and WiFi nodes that the mobile client can detect.

Google geolocation api communications are done over HTTPS using POST. Both request and response are formatted as JSON, and the content type of both is application/json.

277 questions
3
votes
2 answers

Android Geofencing: Trigger only while outside geofence

I am making a geofencing application, which must trigger notification constantly while the device is outside the geofence, not only on exit. I have tried using Geofencing API through the training example given in Google android developer training…
3
votes
2 answers

Parse error on Google GeoLocate API sample JSON

Has Google changed their GeoLocation api and not updated the documentation? I have been following their example code verbatim off of the following page https://developers.google.com/maps/documentation/geolocation/intro I pasted the sample request…
JME
  • 2,293
  • 9
  • 36
  • 56
3
votes
2 answers

Move google maps marker on Places Auto-complete

I currently have a map that displays a marker on the users geolocation. I have a text input field set to Places Auto-complete. When a user searches a city name, a new marker is placed on the location. However, the old gelocation marker remains. I…
3
votes
1 answer

Why different requests return same geolocation with google geolocation api

I send two requests to google geolocation api: https://www.googleapis.com/geolocation/v1/geolocate?key=[mykey] 1st request: {"Carrier":…
Roy Li
  • 33
  • 2
2
votes
0 answers

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 requires the Google Play Store, but it is…
2
votes
1 answer

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 location from a preset or enter the lat, long. But…
2
votes
3 answers

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: LateError (LateInitializationError: Field…
2
votes
0 answers

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 GeneratedPluginRegistrant.java-file. I'm trying to…
ma22om
  • 93
  • 9
2
votes
4 answers

Google GeolocationAPI Requested entity was not found

So Im trying to use the Google GeolocationAPI. It sends the quest successfully and also authenticates successfully with my api key but it returns me this { "error": { "code": 404, "message": "Requested entity was…
F4LS3
  • 151
  • 2
  • 11
2
votes
2 answers

Google Geolocation API is always returning the same location regardless of cellTower specified

I'm using the Google Geolocation API to approximate location based on cell towers that are visible. However, I always get the same location as the result. Using the following body: { "considerIp": false, "radioType": "lte", …
spockmay
  • 66
  • 3
2
votes
0 answers

Nativescript plugins problems occur after recent updates

I am working on a Nativescript project that for some time now has incorporated the ‘nativescript-google-maps-sdk’ and ‘nativescript-geolocation’ plugins without problem. But recently, I’ve started getting errors when building, and trial-and-error…
2
votes
1 answer

Xamarin.Forms: how to get driving distance between two points?

My app currently uses Location Services. During debugging, I retrieve my current location using GetLastKnownLocationAsync: myposition.Latitude is 40.758896 while myposition.Latitude is -73.985130. My SQL Database has a list of Walmart stores, and…
2
votes
0 answers

Find geolocation of specified IP address using Google Geocoding instead of IP address of the request

Is it possible to specify a certain IP address that we want to get the geolocation of it using Google Geocoding instead of relying on the IP address of the requester?
Ihsan Haikal
  • 1,085
  • 4
  • 16
  • 42
2
votes
0 answers

Unhandled Promise rejection: Array [ ] ; Zone: ; Task: null ; Value: Array [ ] undefined Ionic

I am trying to find the reason why my code does not return the nearby places I have searched(using google placesService). When I inspect my code on the browser, I receive two errors: Unhandled Promise rejection: Array [ ] ; Zone: ; Task: null ;…
2
votes
2 answers

Get continuous location using service even after app killed from recent drawer

I started Service from main activity like;- Intent intent = new Intent(this, MyLocationService.class); startService(intent); MyLocationService class looks like:- public class MyLocationService extends Service implements LocationListener, …
1 2
3
18 19