JOpenstreetmap
Joomla Platform class for interact with Openstreetmap API.
since |
3.2.0 |
---|---|
deprecated |
4.0 Use the |
package |
Joomla.Platform |
Methods
__construct
Constructor.
__construct(\JOpenstreetmapOauth $oauth = null, \Joomla\Registry\Registry $options = null, \JHttp $client = null)
since |
3.2.0 |
---|
Arguments
- $oauth
\JOpenstreetmapOauth
Openstreetmap oauth client- $options
\Joomla\Registry\Registry
Openstreetmap options object- $client
\JHttp
The HTTP client object
__get
Method to get object instances
__get(string $name) : \JOpenstreetmapObject
since |
3.2.0 |
---|---|
throws |
|
Arguments
- $name
string
Name of property to retrieve
Response
\JOpenstreetmapObject
Openstreetmap API object
getOption
Get an option from the JOpenstreetmap instance.
getOption(string $key) : mixed
since |
3.2.0 |
---|
Arguments
- $key
string
The name of the option to get.
Response
mixed
The option value.
setOption
Set an option for the Openstreetmap instance.
setOption(string $key, mixed $value) : \JOpenstreetmap
since |
3.2.0 |
---|
Arguments
- $key
string
The name of the option to set.- $value
mixed
The option value to set.
Response
\JOpenstreetmap
This object for method chaining.
Properties
client
The HTTP client object to use in sending HTTP requests.
since |
3.2.0 |
---|
Type(s)
\JHttp