Parameters
- geometry1
- The first geometry. Cannot be null and its spatial reference cannot be null.
- geometry2
- The second geometry. Cannot be null and its spatial reference cannot be null.
Return Value
The geodesic distance between the two geometries in meters. If either of the input geometries is empty, then NaN is returned.