Include this jquery plugin to get the location of the users visiting your webpage
- the plugin displays the complete address, latitude and logitude of the user in a div.
- also displays the location found in a Google map.
How to use:
The download pack contains two files - geolocation.html and the plugin file geolocation.min.js.
The HTML
Include the Jquery library, Google API library and the plugin before your <body> tag ends.
Create a div with the id - location_details. This div will display the location details and the address. Another div with the id - map_canvas will display the location on a Google map.
Thats it!
Let me know if you face any issues.
- the plugin displays the complete address, latitude and logitude of the user in a div.
- also displays the location found in a Google map.
How to use:
The download pack contains two files - geolocation.html and the plugin file geolocation.min.js.
The HTML
Include the Jquery library, Google API library and the plugin before your <body> tag ends.
Create a div with the id - location_details. This div will display the location details and the address. Another div with the id - map_canvas will display the location on a Google map.
Thats it!
Let me know if you face any issues.
it's cool too master...hohoho
ReplyDeleteHey , I've included this awesome jquery plugin in http://jquer.in
ReplyDeleteNote - This might need your wireless device (wifi) enabled ..
ReplyDelete