Recommend this page to a friend! |
Classes of Jakub Dubec | PHP GPX Library | docs/phpGPX-Models-Route.md | Download |
|
DownloadphpGPX\Models\RouteClass Route
Properties$points
A list of route points. An original GPX 1.1 attribute.
$name
GPS name of route / track. An original GPX 1.1 attribute.
$comment
GPS comment for route. An original GPX 1.1 attribute.
$description
Text description of route/track for user. Not sent to GPS. An original GPX 1.1 attribute.
$source
Source of data. Included to give user some idea of reliability and accuracy of data. An original GPX 1.1 attribute.
$links
Links to external information about the route/track. An original GPX 1.1 attribute.
$number
GPS route/track number. An original GPX 1.1 attribute.
$type
Type (classification) of route/track. An original GPX 1.1 attribute.
$extensions
You can add extend GPX by adding your own elements from another schema here. An original GPX 1.1 attribute.
$stats
Objects contains calculated statistics for collection.
Methods__construct
Collection constructor.
getPoints
Return all points in collection.
toArray
Serialize object to array
recalculateStats
Recalculate stats objects.
|