OK, I am working on my first HTML5 geolocation project (reverse to be exact). Nothing major, just a simple form to display the users location on screen.
I have used two tutorials to base my work on:
Now using both sites, I have created two local working examples which is great, however the issue I am having is that they only work when I am connected to the internet using WIFI. If I switch off WIFI on my desktop and use a network cable (to the same router) the examples fail to run.
Am I misunderstanding how geolocation works?
Does a user have to be connected to a WIFI network for it to work???
I also tried connecting to the first site above via 3G on my phone and it also fails to work.
Any advice would be greatly appreciated!!