/home/www/openlayers/OpenLayers-2.7/lib/OpenLayers/Format/GPX.js - OpenLayers

# GPX.js

Summary

GPX.js |
Properties |
extractWaypoints | {Boolean} Extract waypoints from GPX.
extractTracks | {Boolean} Extract tracks from GPX.
extractRoutes | {Boolean} Extract routes from GPX.
extractAttributes | {Boolean} Extract feature attributes from GPX.
Constructor |
OpenLayers. Format.GPX | Create a new parser for GPX.
Functions |
read | Return a list of features from a GPX doc

### Properties

### extractWaypoints

{Boolean} Extract waypoints from GPX. (default: true)

### extractTracks

{Boolean} Extract tracks from GPX. (default: true)

### extractRoutes

{Boolean} Extract routes from GPX. (default: true)

### extractAttributes

{Boolean} Extract feature attributes from GPX. (default: true) NOTE: Attributes as part of extensions to the GPX standard may not be extracted.

### Constructor

### OpenLayers. Format.GPX

Create a new parser for GPX.

#### Parameters

options | {Object} An optional object whose properties will be set on this instance.

### Functions

### read

> read: function( | doc | )

Return a list of features from a GPX doc

#### Parameters

doc | {Element}

#### Returns

An Array of OpenLayers.Feature.Vectors

> read: function( | doc | )

Return a list of features from a GPX doc
Vector features use the OpenLayers.Geometry classes as geometry description.
Close