When user comes on my page, I get his IP. Using IP I can get his lang-latt. (Still could not finalized which API is best for this)
Now I have total 6 cities of India. Blore, Mumbai, pune, Hbad, delhi, chennai and their Lang-latt. Based on his current location I need to find nearest city. One way is getting distance of all 6 cities from user's current location, one which has min distance, select that city. This distance would be calculated by lang-latt difference using Haversine_formula<http://en.wikipedia.org/wiki/Haversine_formula>. I appreciate some one tell me it's accuracy level. To get user's current lang-latt I am using ipinfodb API ; http://api.ipinfodb.com/v3/ip-country/?key=<your_api_key>&ip=74.125.45.100 Is there any better way or API to do this more accurately? -- -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] To view this message on the web, visit https://groups.google.com/d/msgid/google-ajax-search-api/e8d13228-e690-4841-9bfd-cac39677281b%40googlegroups.com For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
