I know this is possible via the user interface:
I have a page that I manage and want to know how I can do this via the Graph API. Sending an empty string for street
key keeps returning "(#200) Permissions error"
. :(
Looks like location field is a mandatory field and needs to have at least street & zip code.
1 Answers
Answers 1
https://developers.google.com/maps/documentation/javascript/places
Two ways:
- Service Area = f ( center, categories, distance)
- Service Area = f ( q, categories, distance) //this is your answer
q means the name of the location. If you want to search Little Rock city, provide "Little Rock" there. Based on distance value you can increase/decrease your Service Area.
0 comments:
Post a Comment