Using Google Maps API in React Native for iOS/Android
- Description
- Curriculum
- FAQ
- Reviews
In this course you will learn:
-
How to build a Maps app for both iOSĀ and Android
-
How to install react-native-maps, and pitfalls you can avoid when doing so!
-
How to ask for permission to get users location
-
How to show the user location
-
How to follow the user location on the map
-
How to use Google Maps API’s easily
-
How to use Google Places Autocomplete API, to autocomplete as the user types
-
How to use Google Directions API, to get directions from the user location to a location
-
How to display this route inside our React Native app
-
How to zoom out map to display our route
I’m will show the quickest and easiest path to get a map app up and running for both iOS and Android, saving you lots of time that I’ve used when IĀ couldn’t find help, or had to fumble around various bugs!
-
2Introduction
-
3Install React Native first!
-
4Init with correct React Native version
-
5Check if build succeeds!
-
6react-native-maps documentation intro
-
7yarn add react-native-maps
-
8Git init & react-native link
-
9Changed files from linking
-
10Check if build succeeds after linking!
-
11Creating a MapView test component
-
25Learn how to use Places Autocomplete API with Postman
-
26Restructuring and creating PlacesInput component
-
27Styling PlaceInput component
-
28Calling Places Autocomplete API in React Native
-
29Showing Places API predictions in React Native
-
30Styling place predictions
-
31DIsplay predictions based on input
-
32Refactoring
-
33Tap anywhere to dismiss keyboard
-
34Using debounce to limit API calls
-
35Hiding list of predictions on tapping
-
36How do we get latitude and longitude to PlaceInput?
-
37Moving location state to parent component
-
38Using device location for Places Autocomplete
Social Network