map.apps Bundle APIs 4.20.0
    Preparing search index...

    Interface GeometryOptions

    Options to specify geometry results for queries.

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

    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.