You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a string with an anchor tag like this, the non-anchor text still bleeds out like shown in the original screenshot. For now, I've moved everything into the anchor text and it works as expected.
@areichman the bug you describe should be fixed by #7608 which just merged to master and will be part of 0.52. I tested out the attribution in your example on the current master branch and it works as expected in both compact and normal attributions.
mapbox-gl-js version: 0.50.0
browser: Chrome
Steps to Trigger Behavior
attributionControl
set tofalse
.new mapboxgl.AttributionControl
given thecompact
option set totrue
and acustomAtribution
string specified.Code
Expected Behavior
The
customAttribution
string would be compacted and hidden along with the default attributions.Actual Behavior
The
customAttribution
string seems to be completely separate from the default attributions.The text was updated successfully, but these errors were encountered: