Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix scan radius to be 70 metres (adapt to API change) #2610

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Fix scan radius to be 70 metres (adapt to API change)
  • Loading branch information
Kira Backes committed Jul 29, 2016
commit f47ce459dba04d3a3890297fcdf138fe05f2d332
2 changes: 1 addition & 1 deletion pogom/search.py
Expand Up @@ -76,7 +76,7 @@ def generate_location_steps(initial_loc, step_count):
SOUTH = 180
WEST = 270

pulse_radius = 0.1 # km - radius of players heartbeat is 100m
pulse_radius = 0.07 # km - radius of players heartbeat is 70m
xdist = math.sqrt(3)*pulse_radius # dist between column centers
ydist = 3*(pulse_radius/2) # dist between row centers

Expand Down
4 changes: 2 additions & 2 deletions static/dist/js/map.js
Expand Up @@ -633,7 +633,7 @@ function setupScannedMarker(item) {
var marker = new google.maps.Circle({
map: map,
center: circleCenter,
radius: 100, // 10 miles in metres
radius: 70, // Scan radius is 70 metres
fillColor: getColorByDate(item.last_modified),
strokeWeight: 1
});
Expand Down Expand Up @@ -1244,4 +1244,4 @@ $(function() {
else
Store.set('geoLocate', this.checked);
});
});
});
4 changes: 2 additions & 2 deletions static/map.js
Expand Up @@ -633,7 +633,7 @@ function setupScannedMarker(item) {
var marker = new google.maps.Circle({
map: map,
center: circleCenter,
radius: 100, // 10 miles in metres
radius: 70, // Scan radius is 70 metres
fillColor: getColorByDate(item.last_modified),
strokeWeight: 1
});
Expand Down Expand Up @@ -1244,4 +1244,4 @@ $(function() {
else
Store.set('geoLocate', this.checked);
});
});
});