In this chapter, you'll learn about the geolocation and mapping capabilities of React Native. We'll start with using the geolocation API; then we'll move on to using the
MapView component to plot points of interest and regions.
We'll rely on the
react-native-maps package to implement maps (https://github.com/airbnb/react-native-maps). The goal of this chapter is to go over what's available in React Native for geolocation and React Native Maps for maps.
The geolocation API that web applications use to figure out where the user is located can also be used by React Native applications because the same API has been polyfilled. Outside of maps, this API is useful for getting precise coordinates from the GPS ...