s2js
    Preparing search index...

    Class EdgeQueryShapeIndexTarget

    Target subtype that computes the closest distance to an S2ShapeIndex (an arbitrary collection of points, polylines, and/or polygons).

    By default, distances are measured to the boundary and interior of polygons in the S2ShapeIndex rather than to polygon boundaries only. If you wish to change this behavior, you may call:

    target.setIncludeInteriors(false)

    Implements

    Index

    Constructors

    Properties

    index: ShapeIndex

    Methods