I have a overlay I have built and have two billboards to show different locations. Is there a way to measure between the two? I have seen points done but not billboards.
HI @jeffpenn82, thanks for the question.
I have seen points done but not billboards.
You should be able to do the same type of logic to measure between 2 billboards. You can get their positions using Billboard.position
.
If you just want the distance between the two points you can use Cartesian3.distance()
. If you want the distance on the actual ellipsoid you can use either EllipsoidGeodesic
or EllipsoidRhumbLine
which both have a surfaceDistance
property