Ok, let me explain you with an example.

You have a common map made it with folium. Now I need to know how to do the next two points:
I need to know how click on the map and “draw” a polygon or shape.
I can "draw" the polygon or any shape, but with a python script specifying the coordinates (latitude and longitude). I don't want that, I want to draw the polygon by clicking on the map.
Finally, I want the polygon coordinates to be automatically added to a python list or a json script.

I hope I was clear explaining the problem.
Dear Stackoverflow community. I need to know how to build a GeoJson map that allows me to draw a polygon and add the coordinates of this drawed polygon to a python list or a json file.
I have been reading all kind of documentation but I didn´t find anything like I´m searching.
If anybody could help me with code or specific documentation, I would be great for me!!!!!
Thanks a lot.
Pablo.
Draw a GeoJson map polygon and extract the coordinates to a python list or a json file