This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {Injectable, provide} from 'angular2/core'; | |
| import {Observable} from 'rxjs'; | |
| const GEOLOCATION_ERRORS = { | |
| 'errors.location.unsupportedBrowser': 'Browser does not support location services', | |
| 'errors.location.permissionDenied': 'You have rejected access to your location', | |
| 'errors.location.positionUnavailable': 'Unable to determine your location', | |
| 'errors.location.timeout': 'Service timeout has been reached' | |
| }; |