gis-tools-ts - v0.8.0
    Preparing search index...

    Interface ToGPXOptions

    User defined options on how to store the features

    interface ToGPXOptions {
        metadata?: GPXMetadata;
        name?: string;
        onFeatureRoute?: (feature: VectorFeatures) => GPXRoute | undefined;
        onFeatureTrack?: (feature: VectorFeatures) => GPXTrack | undefined;
        onFeatureWaypoint?: (feature: VectorFeatures) => GPXWaypoint | undefined;
    }
    Index
    metadata?: GPXMetadata

    User defined metadata

    name?: string

    Name of the GPX file

    onFeatureRoute?: (feature: VectorFeatures) => GPXRoute | undefined

    On a feature, determine if it should be written as a GPXRoute.

    onFeatureTrack?: (feature: VectorFeatures) => GPXTrack | undefined

    On a feature, determine if it should be written as a GPXTrack.

    onFeatureWaypoint?: (feature: VectorFeatures) => GPXWaypoint | undefined

    On a feature, determine if it should be written as a GPXWaypoint.