Skip to content

Commit

Permalink
fix coord ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewyates committed Nov 12, 2013
1 parent fe39757 commit de754df
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@ public void oauth(String consumerKey, String consumerSecret, String token, Strin
BlockingQueue<String> queue = new LinkedBlockingQueue<String>(10000);
StatusesFilterEndpoint endpoint = new StatusesFilterEndpoint();

// add bounding box for North America (erring on the side of including extra regions)
// SW 14.12, -172.07
// NE 71.92, -49.73
// add bounding box for US + Canada (erring on the side of including extra regions)
ArrayList<Location> locations = new ArrayList<Location>();
locations.add(new Location(new Location.Coordinate(14.12, 172.07),
new Location.Coordinate(71.92, -49.73)));
locations.add(new Location(
new Location.Coordinate(-166.992188, 24.846565),
new Location.Coordinate(-53.789063, 70.020587)));
endpoint.locations(locations);

Authentication auth = new OAuth1(consumerKey, consumerSecret, token, secret);
Expand Down

0 comments on commit de754df

Please sign in to comment.