What I find particularly aggravating about that is the UX dark pattern they've utilised for the dialogue. I forget the exact wording, but rather than "Would you like to switch on Google's location service? [Yes] [No]", it's something like "To continue, enable Google's location service. [OK] [Cancel]" - implying that you need to switch it on to do what you wanted to.