Show / Hide Table of Contents

    Class FeatureCollection

    A GeoJSON feature collection.

    Inheritance
    System.Object
    FeatureCollection
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Elements.GeoJSON
    Assembly: Hypar.Elements.dll
    Syntax
    public class FeatureCollection

    Constructors

    FeatureCollection(IEnumerable<Feature>)

    Construct a feature collection.

    Declaration
    public FeatureCollection(IEnumerable<Feature> features)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<Feature> features

    A collection of features.

    Properties

    Features

    A collection of features.

    Declaration
    [JsonProperty("features")]
    public IEnumerable<Feature> Features { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<Feature>

    Type

    The type of the feature.

    Declaration
    [JsonProperty("type")]
    public string Type { get; }
    Property Value
    Type Description
    System.String