Geolocation and Maps
In this chapter, you’ll learn about the geolocation and mapping capabilities of React Native. You’ll start the learning process with how to use the Geolocation API, and then you’ll move on to using the MapView
component to plot points of interest and regions. To do this, we’ll use the react-native-maps
package to implement maps.
The goal of this chapter is to go over what’s available in React Native for geolocation and in react-native-maps
for maps.
Here’s a list of the topics that we’ll cover in this chapter:
- Using the Geolocation API
- Rendering the map
- Annotating points of interest