Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chandler767/geocod.io-demo
Demo of Geocod.io APIs
https://github.com/chandler767/geocod.io-demo
api api-documentation demos geocoder-provider geocoding geocoding-api geojson geolocation geospatial location location-services tutorial-code tutorials tutuorial
Last synced: about 1 month ago
JSON representation
Demo of Geocod.io APIs
- Host: GitHub
- URL: https://github.com/chandler767/geocod.io-demo
- Owner: chandler767
- License: unlicense
- Created: 2020-03-11T16:41:33.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-11T19:05:04.000Z (almost 5 years ago)
- Last Synced: 2024-04-22T00:18:09.753Z (8 months ago)
- Topics: api, api-documentation, demos, geocoder-provider, geocoding, geocoding-api, geojson, geolocation, geospatial, location, location-services, tutorial-code, tutorials, tutuorial
- Language: HTML
- Homepage: https://geo-demo.chandlermayo.com
- Size: 50.8 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Geocod.io Reverse Geocoding API Demo
This is a reverse geocoding demo that uses your current location to provide you with a JSON output of information about your current position. Powered by [Geocod.io](https://Geocod.io).
### [Try the Demo](https://geo-demo.chandlermayo.com)
## What and Why?
Good location data can make a huge impact on the quality of your application's user experiance. The problem is a good source of location data is hard to find and users often provide incomplete and missing data.
Using Geocod.io to make a reverse geocoding request we can resolve more location infomation from a limited amount of data.
This lets you correct incomplete infomation and ensure you have a correct and valid address.
With complete location information you can do things like:
- Ensure that physical mailings reach your users.
- Reduce returned packages and missed deliveries.
- Improve QoS on food delivery services.
- Ensure legal compliances.## How does this demo work?
First the user is asked for permission to get their current location.
Then a request is made to the Geocod.io Reverse Geocoding API with the users position:
```
https://api.geocod.io/v1.4/reverse?q=X,Y&api_key=YOUR_API_KEY
```Results of the request are displayed under the page instructions.
What are you waiting for? [Try the Demo](https://geo-demo.chandlermayo.com)
## How do I clone this project?
Sign up for a Geocod.io account. Get your API key from the dashboard.
Fork/clone this repo and edit scripts.js. Replace my API key with your API key:```javascript
var geocodio_API_KEY = "b67b8419e9b6e105e6659e191e5e16104eee640"; // Get your API key https://dash.geocod.io/
```Enable GitHub pages on the master branch.
Visit your site and give it a try.
Learn more from the Geocode.io Docs.