Search Nearby Places
Overview of the application
This application will read user's current location and based on user's input, it will display nearby places like ATM's, Banks, Restaurants, Hospitals etc. Below languages have been used in this app :
Code is uploaded @ GitHub Repo
This application will read user's current location and based on user's input, it will display nearby places like ATM's, Banks, Restaurants, Hospitals etc. Below languages have been used in this app :
- HTML 5.0 to read user's current location (latitude and longitude).
- Javascript to get user's current address from his current location (latitude and longitude).
- Javascript and Visualforce to display user's current location on google maps.
- Apex: REST call to Google's nearby places API to get nearby places within a specified range.
Code is uploaded @ GitHub Repo
Steps to register for Google API Key :
- Create a new project.
- Click on project, go to Api's (under APIs and auth).
- Click on Google Places API Web Service.
- Click on Enable
- Click on Credentials and find the key
Your feedback and comments will be appreciated. Happy coding :)
Comments
Post a Comment