wasm-spatial-core
    Preparing search index...

    Function bufferPoint

    • Generate a buffer polygon around a point.

      Returns a flat Float64Array of polygon vertices [lng0, lat0, lng1, lat1, ...] forming a circle approximation around the given point.

      Parameters

      • lng: number
      • lat: number
      • radius_meters: number
      • Optionalsegments: number | null

      Returns Float64Array