|
| retrieveGps ($left, $bottom, $right, $top, $page=0) |
|
| uploadTrace ($file, $description, $tags, $public, $visibility, $username, $password) |
|
| downloadTraceMetadetails ($id, $username, $password) |
|
| downloadTraceMetadata ($id, $username, $password) |
|
| __construct (Registry &$options=null, JHttp $client=null, JOpenstreetmapOauth $oauth=null) |
|
| getOption ($key) |
|
| setOption ($key, $value) |
|
| sendRequest ($path, $method='GET', $headers=array(), $data='') |
|
Openstreetmap API GPS class for the Joomla Platform
- Depuis
- 3.2.0
- Obsolète:
- 4.0 Use the
joomla/openstreetmap
package via Composer instead
◆ downloadTraceMetadata()
downloadTraceMetadata |
( |
|
$id, |
|
|
|
$username, |
|
|
|
$password |
|
) |
| |
Method to download Trace data
- Paramètres
-
integer | $id | Trace identifier |
string | $username | Username |
string | $password | Password |
- Renvoie
- array The XML response
- Depuis
- 3.2.0
Références $base, $id, $password, et $path.
◆ downloadTraceMetadetails()
downloadTraceMetadetails |
( |
|
$id, |
|
|
|
$username, |
|
|
|
$password |
|
) |
| |
Method to download Trace details
- Paramètres
-
integer | $id | Trace identifier |
string | $username | Username |
string | $password | Password |
- Renvoie
- array The XML response
- Depuis
- 3.2.0
Références $base, $id, $password, et $path.
◆ retrieveGps()
retrieveGps |
( |
|
$left, |
|
|
|
$bottom, |
|
|
|
$right, |
|
|
|
$top, |
|
|
|
$page = 0 |
|
) |
| |
Method to retrieve GPS points
- Paramètres
-
float | $left | Left boundary |
float | $bottom | Bottom boundary |
float | $right | Right boundary |
float | $top | Top boundary |
integer | $page | Page number |
- Renvoie
- array The XML response containing GPS points
- Depuis
- 3.2.0
Références $base, et $path.
◆ uploadTrace()
uploadTrace |
( |
|
$file, |
|
|
|
$description, |
|
|
|
$tags, |
|
|
|
$public, |
|
|
|
$visibility, |
|
|
|
$username, |
|
|
|
$password |
|
) |
| |
Method to upload GPS Traces
- Paramètres
-
string | $file | File name that contains trace points |
string | $description | Description on trace points |
string | $tags | Tags for trace |
integer | $public | 1 for public, 0 for private |
string | $visibility | One of the following: private, public, trackable, identifiable |
string | $username | Username |
string | $password | Password |
- Renvoie
- JHttpResponse The response
- Depuis
- 3.2.0
Références $base, $description, $file, $parameters, $password, et $path.
La documentation de cette classe a été générée à partir du fichier suivant :