OpenLayers Example Shortest Distance between Line and Point
-
pointRadius:1, strokeWidth:1