Changed the location request to accept a callback parameter with an error and result rather than raising events.