2

I want to use google map on my angular 4 application.how can I obtain users location and show on map also detect address when users changed their location

8
  • I visit this link : angular-maps.com but I cant find my answer Commented Sep 12, 2017 at 5:06
  • There are few more packages available in NPM. please check as well. Commented Sep 12, 2017 at 5:11
  • I checked them before.many of them refer to this link Commented Sep 12, 2017 at 5:48
  • Are you getting google map in your application? Commented Sep 12, 2017 at 6:15
  • 1
    Solved with this code navigator.geolocation.getCurrentPosition(function (position) { var pos = { lat: position.coords.latitude, lng: position.coords.longitude }; }) Commented Sep 12, 2017 at 9:03

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.