FootprintOverlay mark object was added for FootPrints plugin only in mind. But I found it very useful for generic polygon overlay directly in bqplot layer (e.g., in https://github.com/spacetelescope/jdaviz/pull/2410).
Two suggestions:
Generalize its implementation so that Imviz won't break if the object is used outside of Footprints plugin.
See if we can cache the original Region object as an attribute in this object directly. This would make it unnecessary to catch it separately in places that uses FootprintOverlay. Original Region object needs to be stored for roundtripping because everything gets converted into polygon pixel regions for bqplot. This is only feasible if we can make sure this attached Region object will not get sent to the frontend.
Since @kecnry originally implemented this, he should be at least consulted if he is not doing this work directly.
Reporter: pllim
FootprintOverlay mark object was added for FootPrints plugin only in mind. But I found it very useful for generic polygon overlay directly in bqplot layer (e.g., in https://github.com/spacetelescope/jdaviz/pull/2410).
Two suggestions:
Since @kecnry originally implemented this, he should be at least consulted if he is not doing this work directly.
🐱
DISCLAIMER: This issue was autocreated by the Jdaviz Issue Creation Bot on behalf of the reporter.