Skip to content

Commit

Permalink
Add todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrahoang686 committed Aug 2, 2023
1 parent dedb505 commit 587e79b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions stac_ipyleaflet/widgets/draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def template(self, **kwargs) -> Box(style={"max_height: 200px"}):
bbox_out = Output()

# Set unwanted draw controls to False or empty objects
# @TODO-CLEANUP: Create only one DrawControl and pass in the attributes instead
draw_control = DrawControl(
edit=False,
remove=False,
Expand Down
2 changes: 2 additions & 0 deletions stac_ipyleaflet/widgets/inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ def template(
self, applied_layers, interact_widget, make_get_request, titiler_endpoint
):
main = self

# @TODO-CLEANUP: Create only one DrawControl and pass in the attributes instead
draw_control = DrawControl(
edit=False,
remove=False,
Expand Down

0 comments on commit 587e79b

Please sign in to comment.