Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe JOpenstreetmapGps
+ Graphe d'héritage de JOpenstreetmapGps:

Fonctions membres publiques

 retrieveGps ($left, $bottom, $right, $top, $page=0)
 
 uploadTrace ($file, $description, $tags, $public, $visibility, $username, $password)
 
 downloadTraceMetadetails ($id, $username, $password)
 
 downloadTraceMetadata ($id, $username, $password)
 
- Fonctions membres publiques hérités de JOpenstreetmapObject
 __construct (Registry &$options=null, JHttp $client=null, JOpenstreetmapOauth $oauth=null)
 
 getOption ($key)
 
 setOption ($key, $value)
 
 sendRequest ($path, $method='GET', $headers=array(), $data='')
 

Membres hérités additionnels

- Attributs protégés hérités de JOpenstreetmapObject
 $options
 
 $client
 
 $oauth
 

Description détaillée

Openstreetmap API GPS class for the Joomla Platform

Depuis
3.2.0
Obsolète:
4.0 Use the joomla/openstreetmap package via Composer instead

Documentation des fonctions membres

◆ downloadTraceMetadata()

downloadTraceMetadata (   $id,
  $username,
  $password 
)

Method to download Trace data

Paramètres
integer$idTrace identifier
string$usernameUsername
string$passwordPassword
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$idTrace identifier
string$usernameUsername
string$passwordPassword
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$leftLeft boundary
float$bottomBottom boundary
float$rightRight boundary
float$topTop boundary
integer$pagePage 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$fileFile name that contains trace points
string$descriptionDescription on trace points
string$tagsTags for trace
integer$public1 for public, 0 for private
string$visibilityOne of the following: private, public, trackable, identifiable
string$usernameUsername
string$passwordPassword
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 :