You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we add "as_aoi" (or "with_zoom") parameter to the "add_layer/addLayer" method? if the aoi_control is not on the map, we can create it, and if it is, just add layer_name + bounds?
Also, if an aoi_layer (or "with_zoom" layer) is removed from the map, can we remove it from the control (without an extra call).
Perhaps we can have a Dict trait in the map ({name:[bounds]}), overwritten every time a new "as_aoi" layer is added, and an Aoi Control, listening every time to add/remove layers "as_aoi"
The text was updated successfully, but these errors were encountered:
12rambau
changed the title
I like this one, it's working perfectly on my side... I have some comments...
add a as_aoi parameter in the add_layer method
Jul 5, 2022
Perhaps we can have a Dict trait in the map ({name:[bounds]}), overwritten every time a new "as_aoi" layer is added, and an Aoi Control, listening every time to add/remove layers "as_aoi"
Originally posted by @dfguerrerom in #491 (review)
Excellent suggestion that completely deserve it's own issue as it leads to many method tuning (add_layer, remove_layer, aoi_control... etc)
The full list of layers that need to be supported:
The text was updated successfully, but these errors were encountered: