removeM static method

Geometry removeM(
  1. Geometry geometry
)

Return a copy of the given geometry with its m-values removed.

If the given geometry has no m-values, the given geometry is returned. The resulting geometry has a Geometry.hasM value of false.

Supports true curves.

Parameters:

  • geometry — A geometry.

Return Value: A copy of the given geometry with its m-values removed.