They could make "nearest" a thing that the Maps app understands, and just pass that as a parameter in the invocation of Google Maps.