Problem
I'm mapping coordinates to a map using folium, my coordinates are stored in a list such as this e.g:
[[51.52765, -0.1322611111111111], [53.54326944444444, -2.633125]].
Now when I tell folium to map a coordinate from the list, I have to specify it like this:
folium.Marker(all_coords[1]).add_to(m) #[1] = the first set of coordinates from my list.
My list contains a lot of coordinates and in order to print them all out I have to do this:
folium.Marker(all_coords[1]).add_to(m) #[1] = the first set of coordinates from my list.
folium.Marker(all_coords[2]).add_to(m) #[2] = the second set of coordinates from my list.
folium.Marker(all_coords[3]).add_to(m) #[3] = the third set of coordinates from my list.
folium.Marker(all_coords[4]).add_to(m) #[4] = the fourth set of coordinates from my list.
folium.Marker(all_coords[5]).add_to(m) #[5] = the fifth set of coordinates from my list.
How would I go about telling folium to read all items from my list one by one?
Any help is appreciated thank you :)