Skip to content

bhaskarmac/addresstolatlong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Address-to-latlong

A simple program using Google Maps API to search & get the lat, long of location.

Stuff used to make this

  1. Google Maps API
  2. Markers
  3. Info Window
  4. Autocomplete

Environment setup

  1. You will need to add the key.json file in js folder
  2. key.json will contain following code
var mapsKey = {
	"key": "YOUR_GOOGLE_MAP_KEY"
};
  1. Open the Web browser to index.html

Restrictions

As Google not allow to use the API keys with referer restrictions for Google geocode API, in preview link (https://bhaskarmac.github.io/addresstolatlong/) the searched location cannot be set in map.

Preview

Address-to-latlong Preview

TODO

  1. On click of map lat, long should be displayed.
  2. Display info message after coping the coords to clipboard.
  3. On enter press search results should be displayed. (API Limitation in live demo)

Releases

No releases published

Packages

No packages published