optZ property

num? optZ

The z coordinate value optionally. Returns null if not available.

You can also use is3D to check whether z coordinate is available.

For geographic coordinates z represents elevation or altitude.

Implementation

num? get optZ;