-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Although I understand how this can be used, I wonder about the rationale behind it, and the need for the caller to incrementally expand the selected features by passing in a bounding box, presumably returned from the previous call to
zoomToFeatures().If you are looking to improve performance by not unselecting and then reselecting previously selected features, then what about a new option called say
selection, with values ofclear(the default),expand(the current selected feature set is enlarged), andcontract(the current selected feature set is shrunk)? Then the external client doesn't have to concern itself with internal representation.Please raise an issue if you agree that this is better approach that will meet your needs -- it's straightforward for me to implement.
Originally posted by @dbrnz in #50 (comment)