I am new to Stackoverflow and angular 8. I have a question regarding fetching the data we get from google places api. My requirement is, I should be able to search a place in the search bar and then in result, I will see the markers on the map with available stores in the area ie store locator. My question is how do I query the api so it will give me the available stores data in that location in json format?
My api URL is like this: https://maps.googleapis.com/maps/api/js?key=API_KEY&libraries=places .
Here if I change the js to json, it gives me the error you are using the api without key
. Even if I generate other developer api key it gives me the same issue.
I have been looking for a solution for the last 2 days. I don't understand how do I get the available stores information in json so that I can fetch the details and show the markers on the map. Could someone please help? Your help will be really appreciated. Thanks
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.