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
I don't see the attribution in the last cell here using a Chrome browser:
As you can see, the lower-right corner is all dark.
I was expecting to see an attribution like this:
Not sure whether that's what you mean by a tile-layer attribution.
Once I call up a time slider choropleth, I don't see this attribution anymore. It's in the HTML but not visible. I wonder whether the time slider pushes the whole tile down and the browser clips the bottom of the map, including the attribution.
I was able to replicate what you saw but I'm not sure how. For some reason, the time slider disappears on nbviewer and now I can see the attribution that you saw. Your screenshot shows only the attribution but did you also see the time slider on top? Here's a screenshot of what I saw. Seems that we can either see the attribution or the time slider but never both at the same time, consistent with the hypothesis that the time slider somehow pushes the attribution out of view.
Spoke too soon about not knowing how to replicate what you saw. Turns out searching for "attribute" in the console forces the attribute to show up at the bottom-right corner, which in turn pushes the time slider above out of view.
My best guess is that it's because we set the map to fill 100% of the height of it's parent div. Then we also add in the timeslider, causing the whole thing to stretch out further.
On the example notebook I get a vertical scrollbar in the last output with the map. If I change the css on the map element (#map_dkjflsdk etc) from height: 100% to height: 80% the whole output does fit.
To fix this, I think we should look into the extra title and slider we add in TimeSliderChoropleth, not how Map behaves, because changing Map is more risky.
But maybe there's no way around that, and we have to change the way we set the height of Map to something like a flexbox approach.
Alternatively, maybe the timeslider could be a Leaflet control on top of the map.
Is this one fixed? Because I have just run the TimeSliderChropleth example notebook (after downloading it, running locally) using Chrome and the master branch of folium and I do see the full attribution at the bottom of the map, though it is the case that the slider control plus map takes up more space than is allocated to them, so you can't see the attribution unless you scroll down, but then you can't see the time slider.
Activity
Conengmo commentedon Apr 20, 2020
I do see an attribution on that timeslider choropleth notebook, but only for Leaflet:
Do you see the same thing? Do you mean the issue is we're not seeing tilelayer attribution?
jjbenes commentedon Apr 20, 2020
I don't see the attribution in the last cell here using a Chrome browser:

As you can see, the lower-right corner is all dark.
I was expecting to see an attribution like this:

Not sure whether that's what you mean by a tile-layer attribution.
Once I call up a time slider choropleth, I don't see this attribution anymore. It's in the HTML but not visible. I wonder whether the time slider pushes the whole tile down and the browser clips the bottom of the map, including the attribution.
jjbenes commentedon Apr 20, 2020
I was able to replicate what you saw but I'm not sure how. For some reason, the time slider disappears on nbviewer and now I can see the attribution that you saw. Your screenshot shows only the attribution but did you also see the time slider on top? Here's a screenshot of what I saw. Seems that we can either see the attribution or the time slider but never both at the same time, consistent with the hypothesis that the time slider somehow pushes the attribution out of view.

jjbenes commentedon Apr 20, 2020
Spoke too soon about not knowing how to replicate what you saw. Turns out searching for "attribute" in the console forces the attribute to show up at the bottom-right corner, which in turn pushes the time slider above out of view.
Conengmo commentedon Apr 21, 2020
My best guess is that it's because we set the map to fill 100% of the height of it's parent div. Then we also add in the timeslider, causing the whole thing to stretch out further.
On the example notebook I get a vertical scrollbar in the last output with the map. If I change the css on the map element (
#map_dkjflsdk etc) fromheight: 100%toheight: 80%the whole output does fit.To fix this, I think we should look into the extra title and slider we add in
TimeSliderChoropleth, not howMapbehaves, because changingMapis more risky.But maybe there's no way around that, and we have to change the way we set the height of
Mapto something like a flexbox approach.Alternatively, maybe the timeslider could be a Leaflet control on top of the map.
Help is welcome with this!
markhudson42 commentedon Aug 23, 2020
Hi,
Is this one fixed? Because I have just run the TimeSliderChropleth example notebook (after downloading it, running locally) using Chrome and the master branch of folium and I do see the full attribution at the bottom of the map, though it is the case that the slider control plus map takes up more space than is allocated to them, so you can't see the attribution unless you scroll down, but then you can't see the time slider.
Mark.
mudassir733 commentedon Jun 16, 2026
Hi there! I'd love to work on this issue if it's available. Could you please assign it to me?
hansthen commentedon Jun 16, 2026
@mudassir733 Feel free to work on it. We don't assign issues to people and I am pretty sure noone else is working on this.
overlay the time slider so it stops hiding the attribution
overlay the time slider so it stops hiding the attribution
overlay the time slider so it stops hiding the attribution (#2242)