Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added readme, added location.json file.

  • Loading branch information...
commit 9b18928e3b975ed0b5c4290e17a91bca09200c19 1 parent dd65bb5
Aaron Parecki authored

Showing 3 changed files with 18 additions and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  .gitignore
  2. +13 0 README.md
  3. +4 0 Web/location.json
2  .gitignore
... ... @@ -1,3 +1,3 @@
1 1 .DS_Store
2 2 Android/single-location/bin
3   -iPhone/Single-Location-Example/build
  3 +iPhone/Single-Location-Example/build
13 README.md
Source Rendered
... ... @@ -0,0 +1,13 @@
  1 +About
  2 +=====
  3 +
  4 +Sample code from Aaron Parecki's presentation on geolocatoin in web and mobile apps.
  5 +
  6 +
  7 +Firefox Geolocation
  8 +===================
  9 +
  10 +If you're at a place where Firefox can't geo-locate you from the wifi, then try setting the geo.wifi.uri
  11 +parameter in about:config to point to the location.json file provided here. This will always return a
  12 +consistent location from the Javascript geolocation API methods.
  13 +
4 Web/location.json
... ... @@ -0,0 +1,4 @@
  1 +{"location": {
  2 +"latitude": 47.611389,
  3 +"longitude": -122.33168,
  4 +"accuracy": 10.0}}

0 comments on commit 9b18928

Please sign in to comment.
Something went wrong with that request. Please try again.