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
{{ message }}
Repository navigation
HeatmapWithTime is visualized in the back of overlay image #1400
HeatMapWithTime is visualized in the back of the overlay image, even after including <style>.leaflet-heatmap-layer{z-index:300 !important}</style> in my html.
According to #1201, including this <style>.leaflet-heatmap-layer{z-index:300 !important}</style> in my html should bring the Heatmap to the front. However, that did not work.
My map looks like this:
Basemap
m = folium.Map([35, 41], tiles='stamentoner', zoom_start=6)
changed the title [-]HeatmapWithTime is visulized in the back of overlay image[/-][+]HeatmapWithTime is visaulized in the back of overlay image[/+]on Oct 20, 2020
changed the title [-]HeatmapWithTime is visaulized in the back of overlay image[/-][+]HeatmapWithTime is visualized in the back of overlay image[/+]on Oct 20, 2020
I quess better late then never. If anybody else has problem with HeatMapWithTime drawing data behind ImageOverlay. Instead of using above mentioned line of HTML code which tries to push heatmap layer foward.
You can instead push ImageOverlay back with code <style>.leaflet-image-layer{z-index:-1 !important}</style> (Index -1 sets image back of the stack).
Activity
[-]HeatmapWithTime is visulized in the back of overlay image[/-][+]HeatmapWithTime is visaulized in the back of overlay image[/+][-]HeatmapWithTime is visaulized in the back of overlay image[/-][+]HeatmapWithTime is visualized in the back of overlay image[/+]JavierParada commentedon Oct 20, 2020
The HeatMap is shown behind the image.
Dakcser commentedon Apr 3, 2023
I quess better late then never. If anybody else has problem with HeatMapWithTime drawing data behind ImageOverlay. Instead of using above mentioned line of HTML code which tries to push heatmap layer foward.
You can instead push ImageOverlay back with code
<style>.leaflet-image-layer{z-index:-1 !important}</style>(Index -1 sets image back of the stack).