TypeError received while trying to create Folium Colorline
TypeError received while trying to create Folium Colorline Question: I’m trying to create ColorLine for set of latitude and longitude coordinates. Code for the same is below, map_object = folium.Map(location=[15.235683, 75.167737], zoom_control=True, zoom_start = 10, control_scale=True) coordinates = [(15.564746,74.819551), (15.392602,75.173812),(15.392602,75.173812),(15.413797,74.735791)] color=[‘red’,’green’,’blue’] # should be of length len(coordinates) -1 line = features.ColorLine(coordinates,colors = color , weight= …