You'd want to unregister this listener in the case where `setMap` was called with `null`.