Skip to main content
Extremely Popular
Go to Latest
type alias $geoMultiLineString
import { type $geoMultiLineString } from "https://deno.land/x/mongo@v0.31.2/src/types/geospatial.ts";

Example:

{
  $geometry: {
    type: "MultiLineString",
    coordinates: [
      [ [ -73.96943, 40.78519 ], [ -73.96082, 40.78095 ] ],
      [ [ -73.96415, 40.79229 ], [ -73.95544, 40.78854 ] ],
      [ [ -73.97162, 40.78205 ], [ -73.96374, 40.77715 ] ],
      [ [ -73.97880, 40.77247 ], [ -73.97036, 40.76811 ] ]
    ]
  }
}

https://www.mongodb.com/docs/manual/reference/geojson/#multilinestring

definition: GeoJsonOperators<MultiLineString>