On Thu, Sep 17, 2009 at 1:25 AM, Offset <[email protected]> wrote: > > Hi All, I am trying to change the server that gears uses to make > location requests to. The only thing I could find was a sqlite > "geolocation.db" file that references http://www.google.com/loc/json > as an address. I have written my own wifi geolocation service that is > more accurate and wish to use it instead of Google. Thanks in advance > for any help or info related to this.
>From the JavaScript side, see http://code.google.com/intl/nl/apis/gears/api_geolocation.html#positionoptions for the PositionOptions documentation. Use the gearsLocationProviderUrls attribute to specify your own service. If you want to change the default, recompile Gears changing kDefaultLocationProviderUrl defined in gears/geolocation/geolocation.cc Matthijs
