I have been trying to get Lat Lng from this code using the same call to Google Geocoding API, but I have not found a way. Any suggestion would be greatly appreciated! /*! * geotext v1.0 * * https://github.com/Frizzled/geotext * * Copyright (c) 2014 Vladimir Loscutoff * Released under the MIT license */ var GeoText = (function ($, gMaps, undefined) { 'use strict'; function GeoText(vars) { this.vars = { // Settings 'name' : 'default', 'delimiter' : ', ' }; this.data = { // Settings 'success' : false }; // Merge settings if (vars !== undefined) { this.vars = $.extend(this.vars, vars); …

Member Avatar
Member Avatar
+0 forum 10

Hi there, How to get near by locations (around 5km) using latitude and longitude? even i got sql query : my table structure: `craete table ad_list(ad_list_id int(11) NOT NULL, lat decimal(10,6) NOT NULL, lng decimal(10,6) NOT NULL, PRIMARY KEY(`ad_list_id`));` SELECT id, ( 3959 * acos( cos( radians(37) ) * cos( radians( $lat ) ) * cos( radians( $lng ) - radians(-122) ) + sin( radians(37) ) * sin( radians( $lat ) ) ) ) AS distance FROM markers HAVING distance < 5 ORDER BY distance LIMIT 0 , 10; Please give me a solution for this....

Member Avatar
Member Avatar
+0 forum 2

This question could probably be posted in several areas, but what I am writing is a google maps application and I'm also pulling feeds, so I'm choosing this as the main category to post this question in. Basically, I've pulled a feed from NOAA which gives me weather alerts. I would like to plot these areas on google maps, however, the geolocation coordinates they supply are 6 digit numbers which took me a few hours to find out what it is. It's a FIPS code - the first digit is the county subdivision, the first three digits are the state, …

Member Avatar
Member Avatar
+0 forum 2

Hi everyone, My name is Edward and I have question about AJAX, JSON, and google geocode. I have an assignment to create a webpage that has following text fields: name, street address, zip code, city, and state. The goal of this assignment is that when I fill the zip code-text field, the city and state will be automatically filled. For example, when I fill the zip-code with 94568, then the city will be Dublin, and the state will be CA. I don't know how can I connect the google geocode using the AJAX. Here is what I got so far: …

Member Avatar
+0 forum 0

Hi all, I'm decoding a JSON object into an array and then inserting it into a database, which informs markers on a google map. That step is working fine, but I'm now trying to insert code to (a) read whether the latitude value in the array is null, (b) send the address info to be geocoded via the Google Geocoding API if so, and then (c) insert the resulting latitude and longitude values back into the array, to be inserted into the database. I'm new to PHP and am quite the rookie. I'm getting the same result from the below …

Member Avatar
Member Avatar
+0 forum 3

OK, I admit I am completely clueless on how to perform this one. In one table I have a list zip codes and the user will select one or more from this list. Once I have those zip codes, I need to perform my query and this is where it gets rough. In my users table I have a million records that have a geocoded latitude and longitude. What I need to do is return a list of "zones" Let's say the user selects a zip of 33308. In 33308 I have 5,000 users. I need to break the 5,000 …

Member Avatar
Member Avatar
+0 forum 4

The End.