You work as a Mobile Application Developer for MDFT Pro, a well-known training agency that delivers certification courses to students worldwide. Mark, the Product Innovation Manager, has asked you to develop a mobile app that helps students find suitable study locations near their current position. The app will use an API that stores geospatial data in Azure Cosmos DB, including information about partner study centers, coffee shops with quiet study areas, libraries, and co-working spaces where students can study for their certification exams. The app needs to find locations within a particular radius of the user’s current GPS coordinates, retrieve related information including amenities (WiFi availability, quiet zones, power outlets), opening hours, and calculate the optimal walking or driving route from the student’s current location to the selected study location. The API must efficiently handle geospatial queries with support for location-based operations and distance calculations.
Which Azure Cosmos DB API should you use for implementing this geospatial functionality?
Choose the correct answer from the options below.
Explanations for each answer: