Skip to content

Commit

Permalink
Disable NHD bounds checking
Browse files Browse the repository at this point in the history
Temporarily disable bounds checking for NHD watershed delineation until
issue WikiWatershed#1656 is resolved.
  • Loading branch information
Kevin DeLoach committed Jan 12, 2017
1 parent ecb912a commit 370d063
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mmw/js/src/draw/views.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ function validatePointWithinDataSourceBounds(latlng, dataSource) {
point_outside_message = 'Selected point is outside the Delaware River Basin';
break;
case utils.NHD:
perimeter = settings.get('nhd_perimeter');
point_outside_message = 'Selected point is outside the NHD Mid-Atlantic Region';
break;
// Bounds checking disabled until #1656 is complete.
d.resolve(latlng);
return d.promise();
default:
var message = 'Not a valid data source';
d.reject(message);
Expand Down

0 comments on commit 370d063

Please sign in to comment.