Billboard display based on zoomLevel

I have a billboard image that I need to display only for a certain zoom range say till 12. Is there a way to achieve this? Referred this link but there are now zoom options to customize

Hi there,

I think the closest option available is distanceDisplayCondition. It does not correlate directly to the imagery zoom level, but a range of distances. You may need to do a little experimentation, but there should be a range of distances which approximately corresponds to a zoom level of imagery displayed.

Thanks, it worked!