Openlayers V5.3 Web Map: by Swatchai Kriengkraipet
.
Try click-drag the markers on the map.
Mark1:
Mark2:
Compute Distance / Bearing
Distance_12(km):
Bearing_12(deg):