Posts

Showing posts with the label google nearby places

Search Nearby Places

Image
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 : 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. You can host this application on a Force.com site so that it can be accessed publicly. Code is uploaded @ GitHub Repo Steps to register for Google API Key :    Log in to the following URL using google account:         https://console.developers.google.com/project   Create a new project. Click on project, go to Api's (under APIs and auth). Click on Google Places API Web