title: Add popups to geojson leaflet polylines
body: <p>I have the below code which generates polylines from a json file. I need each polyline to also have a unique popup. FYI tjhis code connects to a check box filter tool i put together.</p>
  
  <p>I have seen similar questions however the answers dont work with my specific build.</p>
  
  <pre><code>window.onload=function(){
  
  let checkboxStates
  
  const jsontest = {"type": "FeatureCollection",
  "features": [
  
  &lt;?php echo file_get_contents('data.json') ?&gt;
  
  ]};
  </code></pre>