Use new API methods to request location

Fixes #2479