By extending GridLayer, you can return a custom div element to load your own visual for each tile based on the coordinate. For what I want to do, I want to make each tile responsive so it does something when you hover over it. However, adding this attribute to the div doesn't do anything, same with clicking and other interactivity. It seems like Leaflet just renders them separately and returns the composite image they produce, erasing my attributes.
I have to instead pull the event from the map, find the tile I clicked, change the data for that tile, and reload the layer so that the changes show. Is there a faster and cleaner way to do this?