Recommend this page to a friend! |
Classes of Jakub Dubec | PHP GPX Library | docs/phpGPX-Models-GpxFile.md | Download |
|
![]() phpGPX\Models\GpxFileClass GpxFile Representation of GPX file.
Properties$waypoints
A list of waypoints.
$routes
A list of routes.
$tracks
A list of tracks.
$metadata
Metadata about the file. The original GPX 1.1 attribute.
$extensions
$creator
Creator of GPX file.
Methods__construct
GpxFile constructor.
toArray
Serialize object to array
toJSON
Return JSON representation of GPX file with statistics.
toXML
Create XML representation of GPX file.
save
Save data to file according to selected format.
Arguments
|