I am running a Mapbox map with points that have an icon with this style:
iconImage: ['get', 'icon'],
iconSize: ['interpolate', ['linear'], ['zoom'], 15, 0.0015, 23, 0.2],
iconAllowOverlap: true,
The icon is an image of a house. The interpolation works well until the zoom is very high and the iconSize stay the same but the map is more detailed, making the house smaller and smaller: https://i.imgur.com/6i8OwPL.mp4.
Any suggestion would help. Thank you in advance.
I can definitely rule out that the problem is the size of the image because I can make the height of the image bigger that the height of the phone.