Latitude not working

Latitude not working
0.0 0

#1

I’m so sorry for always posting in here but I feel very confused by this project. I can’t even begin to figure out why the log is telling me that latitude is not defined. Could somebody please help. https://codepen.io/jlayton75/full/jzzoLJ_


#2

Can happen if the user doesn’t allow geolocation access. Or if he’s not accessing the site over https.


#3

When I open the link, it doesn’t even ask me permission.


#4

:confused:


#5

Remove the underscore to reach it. But it wasn’t even clear where a latitute was expected, so …


#6

Ah, thanks! :slight_smile:
By the way it seems to work fine now, gj ^^