igorpreston/ember-cli-geo

User denied Geolocation

bloodknight2010 opened this issue · 1 comments

I can't get the current location.I write the following codes.

this.get('geolocation').getLocation().then(() => {
      let location = this.get('geolocation').get('currentLocation')
      console.log(location)
    })

But I got the following error.

map User denied Geolocation
Please help me.

User denied geolocation
I got the solution thanks all.