Skip to content
This repository has been archived by the owner on Oct 18, 2019. It is now read-only.

Commit

Permalink
Fix filtering clause
Browse files Browse the repository at this point in the history
  • Loading branch information
benjwadams committed Sep 30, 2014
1 parent 2b66557 commit daf33ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ioos_catalog/templates/catalog_map.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,8 @@ <h5>Dataset Info</h5>
var clusterGroup = new L.MarkerClusterGroup({disableClusteringAtZoom: 9,
maxClusterRadius: 60});
function filter_coords(coord) {
return ( coord[0] >= -180 || coord[0] <= 180 ||
coord[1] <= 90 || coord[1] >= -90 )
return ( coord[0] >= -180 && coord[0] <= 180 &&
coord[1] <= 90 && coord[1] >= -90 )
}

function filterTrajectory(trajectoryFeature) {
Expand Down

0 comments on commit daf33ee

Please sign in to comment.