JOpenstreetmapGps
class JOpenstreetmapGps extends JOpenstreetmapObject
Openstreetmap API GPS class for the Joomla Platform
Methods
__construct(
Registry $options = null,
JHttp $client = null,
JOpenstreetmapOauth $oauth = null)
Constructor
from JOpenstreetmapObject
mixed
getOption(
string $key)
Get an option from the JOpenstreetmapObject instance.
from JOpenstreetmapObject
setOption(
string $key,
mixed $value)
Set an option for the JOpenstreetmapObject instance.
from JOpenstreetmapObject
sendRequest(
string $path,
string $method = 'GET',
array $headers = array(),
mixed $data = '')
Method to send the request which does not require authentication.
from JOpenstreetmapObject
array
retrieveGps(
float $left,
float $bottom,
float $right,
float $top,
integer $page)
Method to retrieve GPS points
JHttpResponse
uploadTrace(
string $file,
string $description,
string $tags,
integer $public,
string $visibility,
string $username,
string $password)
Method to upload GPS Traces
array
downloadTraceMetadetails(
integer $id,
string $username,
string $password)
Method to download Trace details
array
downloadTraceMetadata(
integer $id,
string $username,
string $password)
Method to download Trace data
Details
__construct(
Registry $options = null,
JHttp $client = null,
JOpenstreetmapOauth $oauth = null)
Constructor
JOpenstreetmapObject
setOption(
string $key,
mixed $value)
Set an option for the JOpenstreetmapObject instance.
SimpleXMLElement
sendRequest(
string $path,
string $method = 'GET',
array $headers = array(),
mixed $data = '')
Method to send the request which does not require authentication.
array
retrieveGps(
float $left,
float $bottom,
float $right,
float $top,
integer $page)
Method to retrieve GPS points
JHttpResponse
uploadTrace(
string $file,
string $description,
string $tags,
integer $public,
string $visibility,
string $username,
string $password)
Method to upload GPS Traces