Skip to content

Commit

Permalink
Clarify what the accuracy radius is
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Jul 5, 2016
1 parent dbb7e81 commit 3bdd773
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
CHANGELOG
=========

2.8.0 (2016-XX-XX)
------------------

* All changes included in 2.8.0-rc1.
* Updated documentation to clarify what the accuracy radius refers to.

2.8.0-rc1 (2016-06-20)
----------------------

Expand Down
7 changes: 5 additions & 2 deletions src/main/java/com/maxmind/geoip2/record/Location.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,11 @@ public String getTimeZone() {
}

/**
* @return The radius in kilometers around the specified location where the
* IP address is likely to be.
* @return The approximate accuracy radius in kilometers around the
* latitude and longitude for the IP address. This is the radius where we
* have a 67% confidence that the device using the IP address resides
* within the circle centered at the latitude and longitude with the
* provided radius.
*/
@JsonProperty("accuracy_radius")
public Integer getAccuracyRadius() {
Expand Down

0 comments on commit 3bdd773

Please sign in to comment.