- The geolocation API found in React Native works the same way as the geolocation API found in web browsers.
- Yes, it's the same API.
- No, the React Native API has its own distinct features.
- What is the main purpose of the geolocation API in React Native applications?
- To compute distances from one location to another.
- To find the latitude and longitude coordinates of the devices and use those values with other APIs to look up useful information such as addresses.
- To look up addresses and other information about those addresses.
- Can the MapView component show points of interest near the user?
- Yes, this is enabled by default.
- No, you have to manually plot and label everything.
- Yes, but you have to use the showsPointsOfInterest property.
- How do you plot points on maps?
- By passing latitude/longitude array data to the MapView component as a property.
- By passing coordinates to the MapView.Marker component.