Options to specify geometry results for queries.

interface GeometryOptions {
    maxAllowableOffset?: number;
    sr?: { wkid: number } | { wkt: string };
}

Properties

maxAllowableOffset?: number

Offset value used for generalizing geometries. Specifies how the geometry can be retrieved in less detailed resolution. e.g. { maxAllowableOffset: 1000 }

sr?: { wkid: number } | { wkt: string }

Specifies the output SpatialReferenceSystem (SRS) for the geometry. If the store supports transformations, this property should be respected.