How to make my label only appear upon hover?

There are different methods to make a label only appear upon hover. One simple approach is to adjust the opacity settings of the label. By default, you can set the opacity to a low value such as "0.01" to make the label invisible. Then, you can increase the opacity to "1.0" using the "hover_opacity" property. This way, the label will only become visible when the user hovers over it.

Let's say you have added a label to a map:

- Go to the "Code tab", locate the label and add the opacity and hover opacity properties:

 "0": {       
name: "houston",       
parent_type: "location",       
parent_id: "Houston",       
opacity: ".01",       
hover_opacity: "1.0"     
}