title: Is there a way to highlight roads using leaflet?
body: <p>I have a complete set of waypoints (beginning, end, every intersection) and I'd like to display this on a map. I don't want to use a routing service and it should be offline.</p>
  
  <p>How can I draw polylines on a map so that they follow the curves of the road?
  I'm using leaflet.</p>
  
  <p>Could the data be extracted from a relational database(PostgreSQL) and then convert it into GeoJSON and display on the map by leaflet?</p>
  
  <p>I can't use any paid services either.</p>