Angular2 component for fetching current Geolocation.
ng2-location aims to provide a quick and easy way to consume geolocation information made available by modern browsers in Angular2 apps.ng2-location goes one step further and stores the full-address, city-name, postal-code, latitude and longitude in the localstorage.
The repo contains the working example of location component located at src/app/component/ng2-location Just download the repo start using the component.