# Geolocation , i am not able to get latitude and longitude value

**URL:** <https://forum.inductiveautomation.com/t/geolocation-i-am-not-able-to-get-latitude-and-longitude-value/52393>\
**Category:** General Discussion\
**Tags:** ignition81, perspective\
**Created:** [October 27, 2021, 12:03pm UTC](https://forum.inductiveautomation.com/t/geolocation-i-am-not-able-to-get-latitude-and-longitude-value/52393 "2021-10-27T12:03:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [October 27, 2021, 1:28pm UTC](https://forum.inductiveautomation.com/t/geolocation-i-am-not-able-to-get-latitude-and-longitude-value/52393/4 "2021-10-27T13:28:58Z")

</div>

> [@user95](#):
>
> self.session.props.geolocation.enabled=true

You should turn this on in a different location. As it prompts the user to click something so this should happen before centering the map. (unless you are looping through it i guess)

you will have to check your browser if it allowes geolocation, This might be somewhere else in the settings turned off to.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/4/748b78ff6831d8a32a8af3011dbfac72df487922.png)

---

_[View the full topic](https://forum.inductiveautomation.com/t/geolocation-i-am-not-able-to-get-latitude-and-longitude-value/52393)._
