Hi, I am use @arcgis/core package in Angular framework.
I want to calculate distance between 2 points by lat and lng of each point using this package.
I guess that i need something like described in this link. But i don't know how to convert this to the ESM approach.
I guess that i need to import the packages like below, but i don't know how to continue from there.
Any help will be appreciated.
Note that i have no need to draw Map. I need just the calculation.