Search This Blog

Showing posts with label geo-location library. Show all posts
Showing posts with label geo-location library. Show all posts

Sunday, May 24, 2020

Drag Google Map Pin Get Lattitude Longitude Address


Here is best working example of on how to get Latitude Longitude and address while dragging google map pin to desired location



Thursday, August 11, 2011

Location based mobile websites

Goal is to provide a usable geo location framework for mobile websites/widget applications. It wraps the underlying platform specific implementation through a simple JavaScriptAPI that is aligned to the W3 Geolocation API Specification..


//determine if the handset has client side geo location capabilities
if(geo_position_js.init()){
geo_position_js.getCurrentPosition(success_callback,error_callback);
}
else{
alert("Functionality not available");
}


Usage Scenario
The framework provides two key methods, it determines if the handset has client side geo location capabilities and one method to retrieve the location (of course only after a request for permission). So a mobile web site that provides location based services can first determine if the client has client side geo capabilites and ask him to assist him in finding his location. If no geo capabilities are given or they are disabled the site can fallback on a manual location input method and use a geodata database/service to map the input to a pair of latitude/longitude coordinates.

Supported platforms
iOS Android Blackberry OS Browsers with Google Gears support (Android, Windows Mobile) Nokia Web Run-Time (Nokia N97,...) webOS Application Platform (Palm Pre) Torch Mobile Iris Browser Mozilla Geode

Geo Location for mobile

Sample script - Working Great

Thursday, April 15, 2010

Yahoo Geo-Location Library

YQL Geo Library - get all your geo needs in JavaScript - geolocation, reverse geocoding, content analysis

As an aid for the Georgia Tech Hack 2010 and as a follow-up to my talk about geolocation here is a simple JavaScript library that answers most of your geo questions. It wraps the following services in a simple interface:

content-wide advt