User denied Geolocation
bloodknight2010 opened this issue · 1 comments
bloodknight2010 commented
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.
bloodknight2010 commented
User denied geolocation
I got the solution thanks all.