Create a class diagram for the geolocation API.