In the copyright section of a mapboxgl map using a Mapbox Studio style, I see the message "Improve this map", which links here (https://www.mapbox.com/map-feedback/). Where is this link stored or how can I remove it?
I can only set it false, but then no text is shown. I do want to credit Mapbox and OSM:
var map = new mapboxgl.Map({
container: 'map',
style: 'mapbox://styles/myname/mystyle',
attributionControl: false,
center: [10, 30],
zoom: 1
});
Best Answer
The current version of Mapbox GL JS doesn't let you programatically hide that link. You can hide it with CSS:
This assumes OpenStreetMap/Mapbox is ok with it, as @Tangnar mentioned.
Incidentally, even if you programatically disable map rotation, you still need to hide the rotation control button with CSS.