OK so I rad through the documentation however I still don’t understand exactly how it works. If I want to search for a place I am supposed to use an HTTP get request to return json data. How do I do this using JavaScript? The documentation just shows me how to structure the HTTP request like so
https://maps.googleapis.com/maps/api/place/nearbysearch/output?parameters
But how do I then send this request? Pointing me to a tutorial or something would be great.
The Places Library does all the work. You only have to send the fields you require and then display Place Details Results
The following code is taken from the documentation to show you where to add to it to implement your preferences.