Summary
In this chapter, you learned about geolocation and mapping in React Native. The geolocation API works the same as its web counterpart. The only reliable way to use maps in React Native applications is to install the third-party react-native-maps
package.
You saw the basic configuration MapView
components and how they can track the user's location and show relevant points of interest. Then, you saw how to plot your own points of interest and regions of interest.
In the next chapter, you'll learn how to collect user input using React Native components that resemble HTML form controls.