Skip to content

Commit

Permalink
Force regional destinations to be cropped to origins
Browse files Browse the repository at this point in the history
  • Loading branch information
ansoncfit committed Feb 16, 2024
1 parent d12f763 commit 566c08c
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,8 @@ public Type getType() {
*/
@Override
public WebMercatorExtents getWebMercatorExtents() {
if (makeTauiSite) {
return WebMercatorExtents.forTask(this);
} else {
return WebMercatorExtents.forPointsets(this.destinationPointSets);
}
return WebMercatorExtents.forTask(this);
// TODO Use previous conditional logic with custom flag (request.flags.CROP_DESTINATIONS)
}

/**
Expand Down

0 comments on commit 566c08c

Please sign in to comment.