I have a webapp that creates markers on a google map and I’m wondering if there is some way to locate place nearby my custom markers so users can see what is around them.
Thank you in advance,
Robert
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The Places Libraryapi-doc provides the information you seek. You load the library by adding the
libraries=placesparameter to the URL that loads the Google Map, as shown here:And then you request data about places using code similar to this, copied from the Place Search Requests section of the Developer’s Guide, which will search for stores within 500 meters of the point defined in the variable
pyrmont: