Since this question helped me I figured I would help anyonewho is having this problem in 2019. In 2019 you add the google maps api import like this:
https://maps.googleapis.com/maps/api/js?key=YOURAPIKEY
Then add &libraries=places to the end so that all said and done it looks like this:
<script async defer src="https://maps.googleapis.com/maps/api/js?key=YOURAPIKEY&libraries=places"> </script>