GpxReadOptions interface
Options that customize how GPX files are read and parsed.
- Extends
Properties
| capture |
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: |
| max |
Specifies the maximum number of features to read from the data set. If not specified, will read all features. |
| parse |
Specifies if style information should be parsed from the XML file and included as properties of the features.
Default: |
| proxy |
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
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
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
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