I’m currently working on some geolocation javascripts, but am unable to test and debug them properly: My desktop machine (Running Windows, with Chrome 5 or Firefox 3) doesn’t have location information and my mobile devices don’t feature any debugging capabilities.
How can I test geolocation scripts? Is there a tool which will fake a GPS sensor?
In Firefox, it’s possible to switch the default Geolocation provider (Google) to a manually entered source.
Fake your geolocation in Firefox 3.5
And there’s a similar SO question with a number of good answers as well.