{"action":"created","issue":{"url":"https://api.github.com/repos/firebase/geofire-java/issues/19","repository_url":"https://api.github.com/repos/firebase/geofire-java","labels_url":"https://api.github.com/repos/firebase/geofire-java/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/firebase/geofire-java/issues/19/comments","events_url":"https://api.github.com/repos/firebase/geofire-java/issues/19/events","html_url":"https://github.com/firebase/geofire-java/issues/19","id":156103711,"number":19,"title":"queryAtLocation is not working","user":{"login":"srinivaasang1","id":11976261,"avatar_url":"https://avatars.githubusercontent.com/u/11976261?v=3","gravatar_id":"","url":"https://api.github.com/users/srinivaasang1","html_url":"https://github.com/srinivaasang1","followers_url":"https://api.github.com/users/srinivaasang1/followers","following_url":"https://api.github.com/users/srinivaasang1/following{/other_user}","gists_url":"https://api.github.com/users/srinivaasang1/gists{/gist_id}","starred_url":"https://api.github.com/users/srinivaasang1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srinivaasang1/subscriptions","organizations_url":"https://api.github.com/users/srinivaasang1/orgs","repos_url":"https://api.github.com/users/srinivaasang1/repos","events_url":"https://api.github.com/users/srinivaasang1/events{/privacy}","received_events_url":"https://api.github.com/users/srinivaasang1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/firebase/geofire-java/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-21T14:08:24Z","updated_at":"2016-06-06T06:54:20Z","closed_at":"2016-06-06T06:54:20Z","body":"The lattitude and longitude is not being returned\r\n\r\nGeoFire geoFire1 = new GeoFire(new Firebase(\"https://....../profile/\"));\r\n                GeoQuery geoQuery = geoFire1.queryAtLocation(new GeoLocation(-37.920547, 145.130357), 0.6);\r\n                geoQuery.addGeoQueryEventListener(new GeoQueryEventListener() {\r\n                    @Override\r\n                    public void onKeyEntered(String key, GeoLocation location) {\r\n                        System.out.println(String.format(\"Key %s entered the search area at [%f,%f]\", key, location.latitude, location.longitude));\r\n                    }\r\n\r\n                    @Override\r\n                    public void onKeyExited(String key) {\r\n                        System.out.println(String.format(\"Key %s is no longer in the search area\", key));\r\n                    }\r\n\r\n                    @Override\r\n                    public void onKeyMoved(String key, GeoLocation location) {\r\n                        System.out.println(String.format(\"Key %s moved within the search area to [%f,%f]\", key, location.latitude, location.longitude));\r\n                    }\r\n\r\n                    @Override\r\n                    public void onGeoQueryReady() {\r\n                        System.out.println(\"All initial data has been loaded and events have been fired!\");\r\n                    }\r\n\r\n                    @Override\r\n                    public void onGeoQueryError(FirebaseError error) {\r\n                        System.err.println(\"There was an error with this query: \" + error);\r\n                    }\r\n                });\r\n\r\n\r\n![screen shot 2016-05-22 at 12 07 09 am](https://cloud.githubusercontent.com/assets/11976261/15448864/156b14a8-1fb1-11e6-87d7-37a43b5e8a47.png)\r\n"},"comment":{"url":"https://api.github.com/repos/firebase/geofire-java/issues/comments/223881435","html_url":"https://github.com/firebase/geofire-java/issues/19#issuecomment-223881435","issue_url":"https://api.github.com/repos/firebase/geofire-java/issues/19","id":223881435,"user":{"login":"jwngr","id":4149793,"avatar_url":"https://avatars.githubusercontent.com/u/4149793?v=3","gravatar_id":"","url":"https://api.github.com/users/jwngr","html_url":"https://github.com/jwngr","followers_url":"https://api.github.com/users/jwngr/followers","following_url":"https://api.github.com/users/jwngr/following{/other_user}","gists_url":"https://api.github.com/users/jwngr/gists{/gist_id}","starred_url":"https://api.github.com/users/jwngr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwngr/subscriptions","organizations_url":"https://api.github.com/users/jwngr/orgs","repos_url":"https://api.github.com/users/jwngr/repos","events_url":"https://api.github.com/users/jwngr/events{/privacy}","received_events_url":"https://api.github.com/users/jwngr/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T06:54:20Z","updated_at":"2016-06-06T06:54:20Z","body":"Yeah it does look like you are mixing regular data with your GeoFire index and not storing all data in the same node. You want to make sure you are keeping all your GeoFire data in the same node, otherwise your geoqueries will not work."}}
{"actor":{"display_login":"jwngr"}}