PolygonBuilder constructor

PolygonBuilder({
  1. SpatialReference? spatialReference,
})

Creates a new empty polygon builder with the specified SpatialReference.

The SpatialReference cannot be changed after instantiation.

Parameters:

  • spatialReference — The builder's spatial reference.