How would you approach designing a geolocation system that works across mobile and web platforms?

Interview question asked to Machine Learning Engineers, Technical Program Managers, Software Engineers and other roles interviewing at Adobe, Pinterest, Bol.com and others: How would you approach designing a geolocation system that works across mobile and web platforms?.