@vcmap/core
    Preparing search index...

    Function createClippingFeature

    • Creates a new feature at the given coordinate, which can then be used to create a clippingPlaneCollection.

      Parameters

      • coordinate: Coordinate

        in WGS84

      • camera: Camera
      • Optionalvertical: boolean = false
      • OptionaloffsetDistance: number = 25

        the offset from the coordinate to use for the size of the geometry

      • Optionalrotate: number = 0

        rotation of clipping plane in radians. 0 means vertical plane is parallel to camera.heading and horizontal feature is aligned with axes.

      Returns Feature

      • the features geometry is in web mercator