# Module: ol/format/GPX

This documentation is for OpenLayers v10.9.0. The latest is v.

## ol/format/GPX

### Classes

GPX

### Type Definitions

#### GPXAuthor{Object}

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `name` | string | undefined | name
  `email` | string | undefined | email
  `link` | GPXLink | undefined | link

#### GPXCopyright{Object}

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `author` | string | undefined | author
  `year` | number | undefined | year
  `license` | string | undefined | license

#### GPXLink{Object}

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `text` | string | undefined | text
  `type` | string | undefined | type

#### GPXMetadata{Object}

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `name` | string | undefined | name
  `desc` | string | undefined | desc
  `author` | GPXAuthor | undefined | author
  `link` | GPXLink | undefined | link
  `time` | number | undefined | time
  `keywords` | string | undefined | keywords
  `bounds` | Array.<number> | undefined | bounds
  `extensions` | Object | undefined | extensions

#### LayoutOptions{Object}

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `hasZ` | boolean | undefined | HasZ.
  `hasM` | boolean | undefined | HasM.

#### Options{Object}

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `readExtensions` | function | undefined | Callback function to process `extensions` nodes. To prevent memory leaks, this callback function must not store any references to the node. Note that the `extensions` node is not allowed in GPX 1.0. Moreover, only `extensions` nodes from `wpt`, `rte` and `trk` can be processed, as those are directly mapped to a feature.

#### ReadExtensions()

format/GPX.js, line 186