GpxReadOptions interface

Options that customize how GPX files are read and parsed.

Extends

Properties

capturePathWaypoints

Specifies wether the individual waypoint data of a GPX Route or Track should be captured. If set to true, the shape will have a metadata.waypoints property that is an array of pushpins that contains the details of each waypoint along the track. Default: false

Inherited Properties

maxFeatures

Specifies the maximum number of features to read from the data set. If not specified, will read all features.

parseStyles

Specifies if style information should be parsed from the XML file and included as properties of the features. Default: true

proxyService

A URL to a proxy service that can have a URL to an external file appended it. This will be needed to access files that are hosted on non-CORs enabled endpoints.

Property Details

capturePathWaypoints

Specifies wether the individual waypoint data of a GPX Route or Track should be captured. If set to true, the shape will have a metadata.waypoints property that is an array of pushpins that contains the details of each waypoint along the track. Default: false

capturePathWaypoints?: boolean

Property Value

boolean

Inherited Property Details

maxFeatures

Specifies the maximum number of features to read from the data set. If not specified, will read all features.

maxFeatures?: number

Property Value

number

Inherited From BaseSpatialDataReadOptions.maxFeatures

parseStyles

Specifies if style information should be parsed from the XML file and included as properties of the features. Default: true

parseStyles?: boolean

Property Value

boolean

Inherited From BaseSpatialXmlReadOptions.parseStyles

proxyService

A URL to a proxy service that can have a URL to an external file appended it. This will be needed to access files that are hosted on non-CORs enabled endpoints.

proxyService?: string

Property Value

string

Inherited From BaseSpatialDataReadOptions.proxyService