title: Folium Polylines connects the plots with Python
body: <p>I am working on the Folium Map Python Library, and Its connects the two different points together (PolyLine), is there any best example with folium which doesn't connect lines on map or I can color them with unique ids,</p>
  
  <p>I was trying some JSON thing with my Data, but that didn't work with my code, still it connects all the different lines as mentioned in below picture? can any one suggest any best solution, which doesn't connect these lines, but I have to still use the folium.</p>
  
  <pre><code>lat = filteredData.lat
  lon = filteredData.lon
  
  data = {
      'type': 'FeatureCollection',
      'features': [
          {
              'type': 'Feature',
              'geometry': {
                  'type': 'LineString',
                  'coordinates': [[lon, lat] for (lat, lon) in zip(lat, lon)],
              },
              'properties': {'fillcolor': 'black'}
          },
      ],
  }
  
  
  m = folium.Map(location=[36.862317, -76.3151], zoom_start=6)
  m.add_child(folium.features.GeoJson(data))
  m
  </code></pre>
  
  <p><a href="https://github.com/python-visualization/folium/blob/master/examples/Features.ipynb" rel="nofollow noreferrer">this is the reference link I am using </a></p>
  
  <p><a href="https://i.stack.imgur.com/du3YQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/du3YQ.png" alt="enter image description here"></a>s.</p>