EasyBlogLocationProvidersOsm
extends EasyBloglocationProviders
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- getResult() : mixed
- Get locations results
- isSettingsComplete() : mixed
- Determines if the settings is complete
- setCoordinates() : mixed
- Set the coordinates
- setSearch() : mixed
- Set the search queries
Properties
$url
public
mixed
$url
= 'https://nominatim.openstreetmap.org'
$queries
protected
mixed
$queries
= array('lat' => '', 'lon' => '', 'q' => '')
Methods
__construct()
public
__construct() : mixed
getResult()
Get locations results
public
getResult([mixed $queries = array() ]) : mixed
Parameters
- $queries : mixed = array()
Tags
isSettingsComplete()
Determines if the settings is complete
public
isSettingsComplete() : mixed
Tags
setCoordinates()
Set the coordinates
public
setCoordinates(mixed $lat, mixed $lng) : mixed
Parameters
- $lat : mixed
- $lng : mixed
Tags
setSearch()
Set the search queries
public
setSearch([mixed $search = '' ]) : mixed
Parameters
- $search : mixed = ''