Closed matthewma7 closed 6 years ago
When you delete a boundary that was used to filter, should the filter be turned off?
When you are in draw-boundary mode, can you change the draw icon so that it shows it is selected?
@manthey Thank you for your review. I think it's ok not to remove the boundary when the dataset is removed? I think the icon could have changed to indicate it's drawing mode, but I did some new feature related to icons. So, I think I will add it in a following PR.
When testing, I found out the boundary calculation is not supported on WMS layers, so I added a series of check and message to handle the situation when boundary can't be acquired.
If it wouldn't be too much work, can you add a test with a dataset where you can't get bounds? Otherwise, this looks good.
Thank you @manthey for reviewing 🍺
Utilize GeoJS annotation layer for boundary dataset creating. Uses bounding box support based on the previous PRs for intersecting filtering.