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
0
votes
1 answer

google's Geolocation api returns my location not the cell tower's location

I have read that this is because the cell tower cannot be found in the database but I tried the details on CellIdFinder and it found it. I don't get an error, I get my location. Any ideas?
Viv
  • 1
0
votes
1 answer

Getting User's Location Without Permission

This website finds my location with a reasonable presicion. If i use mobilephone the website finds my exact location. If it is possible without asking permission why most of them asks me before getting my location? Isn't it makes personal security…
mcan
  • 1,914
  • 3
  • 32
  • 53
0
votes
0 answers

Best way to pass geolocation to server?

Using code similar to http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation, I want to pass latitude and longitude values back to the asp.net server before a page is shown. I have a SQL database with columns like this: Cafe Name |…
user1946932
  • 474
  • 1
  • 16
  • 41
0
votes
1 answer

How to get "geolocation" permission inside sandbox of chrome app

I have a chrome app with permissions set one of which is geolocation. It have a sandbox index.html I want to get user location from that index.html. Is there any way I can get geolocation from that page. function success(position){ } function…
Node Mario
  • 179
  • 13
0
votes
2 answers

Google Maps API JavaScript with PHP

I must be over-looking something simple but I'm not getting any errors. I'm also not getting any maps. The PHP to call the address and zip code work fine, both are in there correctly. Tried on a couple of different browsers to make sure the script…
mrmunk
  • 69
  • 2
  • 10
0
votes
1 answer

Undefined Issue using Google's Javascript API

I've been stuck on an issue for a number of days when using the google geo-location api. This is what I've been trying - function codeAddress(address) { var geocoder = new google.maps.Geocoder(); geocoder.geocode({"address": address},…
sgpbyrne
  • 565
  • 1
  • 7
  • 13
0
votes
1 answer

Getting values of lattitude longitude as null. PHP

I have a table of venues, which has column of latitude ,longitude, which states it's location. I want to get the locations from venues table and get the locations which are near to the current location of the user. Current location would be given as…
Sid
  • 2,792
  • 9
  • 55
  • 111
0
votes
1 answer

Get distance of locations between 10 kms

I have a table of venues, which has column of latitude ,longitude, which states it's location. I want to get the locations from venues table and get the locations which are near to the current location of the user. Current location would be given…
Sid
  • 2,792
  • 9
  • 55
  • 111
0
votes
1 answer

Google maps geolocation not working in ubuntu14.04

I am using Ubuntu 14.04. I am facing an issue with google maps geo-location. I wrote a piece of code which shows geo-location map in my project, initially it worked fine. But I am facing an issue with this now. Even the link…
0
votes
3 answers

Angular ng-if not rendering div upon condition change

I'm working on learning Angular with Google maps and having difficulty rendering a map within a div controlled by an ng-if directive. For my application, I would like the map render upon receiving the coordinates from the $scope.location function. I…
0
votes
1 answer

Get timezone directly from Country and State Google API

I need to get the timezone from just country and state (E.g. Australia/Sydney). There's an answer here that gets the coordinates first then requests for the timezone using the coordinates as params. But I'm asking is there a direct way of doing…
Kim Montano
  • 2,185
  • 4
  • 26
  • 39
0
votes
1 answer

gmaps geometa.js not found?

I'm using a plugin which calls http://gmaps-samples-v3.googlecode.com/svn/trunk/geolocate/geometa.js for displaying map with pins on the homepage. However, this link is not found (404). I've searched for the solution too see what to do, but with no…
user4042721
0
votes
1 answer

Is it possible to include normal javascript and css functions from my website into my angularjs app?

I am developing a website in html/css/js and its mobile application in angularJS (ionic framework). In my website I have implemented google geolocation and full calendar(http://fullcalendar.io/). I know that for use in angularJS, there are…
0
votes
1 answer

Is it possible using Geolocation like iOS and Android native geolocation services

Edited: I've been trying to use React-Native Geolocation API in my app. The apı the same with https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/Using_geolocation However, the API is not as good as Android native geolocation services. When…
efkan
  • 12,991
  • 6
  • 73
  • 106
0
votes
1 answer

getting updated location from GcmListenerService onMessageReceived

Hi I am working on app that when it receives push notification should get it's location and call server where then based on that it gets to show notification or swallow it. Problem that I am a experiencing is that location is getting cashed and then…
Matas Vaitkevicius
  • 58,075
  • 31
  • 238
  • 265