Class GeoJsonLineString<TCoordinates>
- Namespace
- MongoDB.Driver.GeoJsonObjectModel
- Assembly
- MongoDB.Driver.dll
Represents a GeoJson LineString object.
[BsonSerializer(typeof(GeoJsonLineStringSerializer<>))]
public class GeoJsonLineString<TCoordinates> : GeoJsonGeometry<TCoordinates> where TCoordinates : GeoJsonCoordinates
Type Parameters
TCoordinates
The type of the coordinates.
- Inheritance
-
GeoJsonObject<TCoordinates>GeoJsonGeometry<TCoordinates>GeoJsonLineString<TCoordinates>
- Inherited Members
Constructors
- GeoJsonLineString(GeoJsonLineStringCoordinates<TCoordinates>)
Initializes a new instance of the GeoJsonLineString<TCoordinates> class.
- GeoJsonLineString(GeoJsonObjectArgs<TCoordinates>, GeoJsonLineStringCoordinates<TCoordinates>)
Initializes a new instance of the GeoJsonLineString<TCoordinates> class.
Properties
- Coordinates
Gets the coordinates.
- Type
Gets the type of the GeoJson object.