GeoTagging Application: LocalTags
| 0 comments | html5Inspired by the fitfinder site, I wanted to make use of HTML 5's Geo Location API to allow a fast way for posting a comment at your location.
I looked into how to find out the name of a place after been given GPS co-ordinates by the browser. Google has a good API called reverse geocoding which you can submit co-ordinates to and get returned a nicely formatted address.
You also may want to search for a different place or may not have a HTML 5 compatible browser (IE) so need to enter your location manually - to do this the geocoding API was used. The user starts typing a place name and a search is done, returning a place name along with it's co-ordinates.
The Maps API then displays the location along with comments posted near there, +/-0.02 of its co-ordinates. You can then submit your own comment and move the marker to exactly where you are talking about.
All that is then stored in a database is the exact co-ordinates of the comment, the text and the time.
This is now available to play with at dyl.anjon.es/localtags