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
4
votes
0 answers

Google maps web geo location not working on nexus 5 android 4.4.4?

I have a Nexus 5 and I recently got the 4.4.4 update. Since then the geo location functionality on my site has stopped working on my phone. It works on desktop machine and other phone like iPhone: http://thesalesite.com.au/#/search It should show…
4
votes
1 answer

Geolocation Request from Amazon EC2

I'm deploying an application which makes a request against the Google Maps Geolocation API. My requests go through fine from my workstation. But I get a 400 Bad Request error every time I run it from a server in Amazons cloud. Below is an example…
3
votes
1 answer

Geolocation API: Requested entity was not found

I am trying Geolocation API for first time, but not able to get it working. Trying a sample from https://developers.google.com/maps/documentation/geolocation/overview but always returning me 404. I already have billing enabled for this…
Hemant
  • 3,893
  • 6
  • 27
  • 22
3
votes
2 answers

Google maps Geolocation not asking for permission

I'm trying to use the Google Maps API in the following page: https://developers.google.com/maps/documentation/javascript/geolocation and all I'm doing is copying the code on that page and pasting it on a testing page on my…
Nasser Al-Ali
  • 35
  • 1
  • 4
3
votes
0 answers

Why some addresses do not have all components when using Google Maps Geolocation?

I wrote this function to obtain address from coordinates using Google Maps API. var geocoder = new google.maps.Geocoder(); function setMap(pos) { map.setCenter(pos); geocoder.geocode({ latLng: pos }, function (results, status) { if…
Artur Kedzior
  • 3,994
  • 1
  • 36
  • 58
3
votes
0 answers

Deployed AWS S3 code working differently than same files locally

I know that "but it works on my computer" is one of the things I should never say, but here we are. I have a little app that gets your location, gets your weather, then gives you a music playlist. Using the files locally, you can use geolocation OR…
3
votes
0 answers

Run a task hourly in a service

I want to track the tower location of the user hourly. So for that I am now using an alarm manager. With alarm manager sometimes the alarm is getting triggered sometimes it does not. Also there is problem in xiomi devices, if the app is killed from…
Sid
  • 2,792
  • 9
  • 55
  • 111
3
votes
0 answers

How to display nearby places ATM,Hospital or restaurant in google map using Angular 2 or Angular 4?

In my web application, i want to show the near by ATM or restaurants using google map API. I am using following this link https://angular-maps.com/ I displayed the map. In current location how can I show the near by ATM or restaurant using Google…
Peri
  • 158
  • 1
  • 4
  • 16
3
votes
1 answer

How to move marker over map in ionic2?

In this code I try to move marker as I change location but it seems something is wrong.marker is not replacing. declare var google; @Component({ selector: 'page-page1', templateUrl: 'page1.html', providers: [Geolocation] }) export class Page1…
RSA
  • 1,417
  • 4
  • 22
  • 37
3
votes
1 answer

check if a place is within an area (place_id)

I have a google maps place defined by their place_id s. The place can refer to: an address, eg 221B Baker St, Marylebone, London NW1 6XE, UK : ChIJFbp6NM8adkgRdOYUaV-EQlw Or a general area eg London NW1, UK: ChIJoZM_S7EadkgR_T2MfOBVirE I would…
3
votes
2 answers

How can I get a list of postcodes (GB) given a postcode (or coordinates) and a radius?

There are plenty of articles on this subject but I couldn't find any that suits my needs. The only thing I need is to get a list of postcodes within a x miles radius of another postcode. I don't have a postcode database and although there is a free…
Fabio
  • 791
  • 1
  • 7
  • 27
3
votes
1 answer

WatchPosition Time Out In Geolocation

I am working on Ionic App and want to fix issue for Geolocation Watch Position. I want to get data after every 1 minutes not after 5 sec. My code is as following, var opti = { enableHighAccuracy: false, timeout:60000, maximumAge: 0 }; …
3
votes
4 answers

Google Places Autocomplete - Click first result on blur

I'm using a Google Places Autocomplete and I simply want it to fire click event on the top item in the results list when blur event fire in the form field and suggestions exist. var pac_input = document.getElementById('pick-auto'); …
Mitul Lakhani
  • 182
  • 1
  • 12
3
votes
1 answer

Geolocation API removed from unsecured origins in Chrome 50

Is there any fallback option for Geolocation API of google ? Starting from Google Chrome version 50, all requests from unsecured origins to Geolocation API are returning error code 1.…
us190190
  • 116
  • 8
3
votes
2 answers

Getting User Location without Core Location (Google Maps Geolocation?)

On a recent application that I am developing user location is essential. To get the location of the user we are using a location manager. Unfortunately this only works if the user has location services enabled and gives permission to access it. If…
zirinisp
  • 9,971
  • 5
  • 32
  • 38
1
2
3
18 19