All Questions
Tagged with google-geolocation php
17 questions
0
votes
0
answers
2k
views
Get current location in JS/PHP
I am trying to get current location (with address, not only lat, long), But i am stuck that how to get?
Here is the code:
<button onclick="getLocation()">Click Me</button>
<div id="...
1
vote
1
answer
223
views
Passing jQuery variables to external PHP file
For my web application I am trying to post latitude and longitude variables from javascript (googleMap.js) to an external php file (closestLocations.php). I am using the AJAX post method to post the ...
3
votes
2
answers
4k
views
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 ...
4
votes
1
answer
5k
views
Google Geolocation API - You have exceeded your daily request quota for this API
I'm trying to get the latitude and the longitude values for an specific place in a webservice query, but when I try to get it, I get this error_message
"You have exceeded your daily request quota ...
0
votes
0
answers
2k
views
Geolocation : Get Formatted Address
I've been trying to get formatted address using geolocation for few days now.
I have an on click button that will detect the location based on latitude and longitude. The location will be display on ...
1
vote
0
answers
324
views
Issue in Inserting value of javascript variable in mysql database using php
HTML CODE
<!DOCTYPE html>
<html>
<head>
<title>Geolocation</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta ...
0
votes
1
answer
2k
views
Obtaining correct response from Google Geolocation API for MAC Address, PHP/JSON
I am currently developing a web portal to make use of the Google Geo-location API, specifically for MAC addresses.
I am using PHP and cURL to send a request for the API, decoding the returned JSON ...
-1
votes
6
answers
2k
views
Trying to get property of non-object geolocation google API
I'm working in to get the latitude and longitude from google maps through the geolocation API. I have tried many times but always is showing this error:
Trying to get property of non-object in C:\...
0
votes
1
answer
4k
views
Geo location getCurrentPosition() and watchPosition() not work on insecure origins
I need user's Lattitude and longitude using php. try following code.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example of HTML5 ...
-2
votes
1
answer
1k
views
Getting response from GOOGLE MAPS GEOLOCATION API in PHP, the output is in JSON
I have been looking for answers everywhere, didn't find one. I am using google map geolocation api to display Address from Lat,Long. I need to display only selective data like: "formatted_address" ...
0
votes
2
answers
6k
views
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 ...
0
votes
1
answer
195
views
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 ...
0
votes
1
answer
273
views
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 ...
2
votes
1
answer
1k
views
Google geolocation using cell tower info- Curl 400 Bad request PHP
I'm trying to get latitude and longitude from cell tower info using Google's geolocation api.
It requires a valid JSON with information like MCC, MNC, cellId, lac etc.., My PHP post request looks like ...
0
votes
3
answers
107
views
How to write a mysql query that selects all stores (latitudes and longitudes) ORDER BY nearer to your position
I am making a site in which I have to show all stores on a list sorted in a way that the nearer stores, to the users current location, come first and far ones come later.
I need a MySQL query that ...