I would love to display my legend in the "topcenter" area of the map as all the other corners are used by buttons, and other controls as shown in this example:
the problem is that the "topcenter" doesn't exist in leaflet/ipyleaflet. option A would be to customize the css of one of the existing corner but they won't be usable anymore. looking on the web I found this workaround for leaflet (https://stackoverflow.com/a/60391674/6734243):
I would love to display my legend in the "topcenter" area of the map as all the other corners are used by buttons, and other controls as shown in this example:
the problem is that the "topcenter" doesn't exist in leaflet/ipyleaflet. option A would be to customize the css of one of the existing corner but they won't be usable anymore. looking on the web I found this workaround for leaflet (https://stackoverflow.com/a/60391674/6734243):
Is there a way I can reach this level of customization from my side ? If yes where should I add the javascript part ?