Depending on the current zoom level of my Mapbox map the marker icons have a different size. All my custom marker are in a div container and I change the class to change the size of them.
Now I have the problem that the offset of the popups (distance of the popup to the marker icon) is too big if the icons are smaller.
Is there a possibility to change the offset of the popups also with the zoom level?