RAMP4 - v4.21.0
    Preparing search index...

    Interface IdentifyGeometryProvider

    Allows optional tools to adjust or suppress map identify geometry without making identify depend on those tools.

    interface IdentifyGeometryProvider {
        getIdentifyGeometry(mapClick: MapClick): BaseGeometry | undefined;
        suppressIdentify?(mapClick: MapClick): boolean;
    }

    Implemented by

    Index

    Methods

    • Return an alternate geometry to identify against for the supplied map click.

      Return undefined to identify against the original click point. Returning a point preserves normal point identify behavior, including layer tolerance and symbolic hit tests. Returning a line, polygon, or other non-point geometry passes that geometry to identifying layers so they can return features intersecting it.

      Parameters

      Returns BaseGeometry | undefined