Skip to content

Using ES6 to show Latitude and Longitude after given address information

Notifications You must be signed in to change notification settings

rg-epicodus/JS-ES6-API-LATLNG

Repository files navigation

JavaScript Google ZipCode to LATLNG API Project

This web application will do the following:

  • Use ES6
  • convert user input address info to lat lng to be used for other purposes, likely API calls

Setup/Installation Requirements

  • Clone the repo
  • navigate to project root folder
  • head to https://developers.google.com/maps/documentation/javascript/get-api-key and get an API Key
  • must add a .env file to root directory with API key in it for google
  • add to .env file: exports.apiKey = "YOUR_GOOGLE_API_KEY";
  • run in terminal $ npm install
  • run in terminal $ bower install
  • run in terminal $ gulp build
  • Launch Index.html

Screenshot

Specifications

Behavior Example Input Example Output
User inputs address info Portland, OR 45.5231, -122.6765

Known Bugs

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

The MIT License (MIT) Copyright 2017 Rich Garrick

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Using ES6 to show Latitude and Longitude after given address information

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published