The follow in `hints` has part of this in `getElementRect` to create visible marker rectangle. Different functionality.