The locale settings need to be initialised to something, right? What default value would you choose? Miles for everyone, as Google Maps seems to? Km for everyone? Better than either of those is using location to set it to whatever the customary unit is in their country. Otherwise, you're doing the wrong thing for hundreds of millions of users.
Whether this particular setting is in the phone OS or in Google Maps is irrelevant. Either way, it needs to be initialised, and it should be initialised to something sane.