title: Calculate distance to linestring
body: <p>I'm noobish to GIS, so I need some help for the following.</p>
  
  <p>I'd like to calculate the distance between POIs from a GeoJSON file and a linestring.
  So POIs situated at a certain distance (parallel) to the linestring.</p>
  
  <p>Calculating the distance between a single point ('current location') and a POI from my GeoJSON file isn't a problem (using <code>distanceTo()</code> )
  But calculating the distance between POIs and a linestring goes over my head.</p>
  
  <p>My ultimate goal is to use the filter option for my geoJson layer and only show POIs situated at a certain distance (parallel) to the linestring. (ex. max. distance 50 meter)</p>
  
  <p>Using lat / lon in decimal degrees.</p>