git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| 0e6e119341e62f6bc52cc4780bf82f858d5d5f07672e31d4fead1e07fd0f493e0a6c9c3e27b24b362b43dcf0acc2a3bed60ddec7dde93327ef4494d79a8287d5 |
| 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' | |
| }; |
| import { GoogleMapsAPIWrapper } from '@agm/core'; | |
| import { Directive, Output, EventEmitter } from '@angular/core'; | |
| declare var google: any; | |
| @Directive({ | |
| selector: 'agm-location-marker' | |
| }) | |
| export class AgmLocationMarker { | |
| marker: any; |
| //////////////////////////////////////////////////////////////////////////////// | |
| /// /// | |
| /// This routine calculates the distance between two points (given the /// | |
| /// latitude/longitude of those points). It is being used to calculate /// | |
| /// the distance between two location using GeoDataSource(TM) /// | |
| /// products. /// | |
| /// /// | |
| /// Definitions: /// | |
| /// South latitudes are negative, east longitudes are positive /// |