import atlas from 'azure-maps-control' ; export const generateLinesFromArrayOfPosition = ( coordinates ) : atlas . data . LineString => { const line = new atlas . data . LineString ( coordinates ) ; return line ; } ; export const generatePixelHeading = ( origin , destination ) => { const heading = atlas . Pixel . getHeading ( origin , destination ) ; return heading ; } ;