Add functions to mapUtils.js to calculate rhumb line (loxodrome).