mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 09:59:06 +01:00
LSformElement_postaladdress: update OSM nominatim search URL
This commit is contained in:
parent
118b784a5d
commit
151b229c3d
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class LSformElement_postaladdress extends LSformElement_textarea {
|
||||||
$return = parent :: getDisplay();
|
$return = parent :: getDisplay();
|
||||||
if ($this -> isFreeze()) {
|
if ($this -> isFreeze()) {
|
||||||
if (!empty($this->values)) {
|
if (!empty($this->values)) {
|
||||||
$map_url_format = $this -> getParam('html_options.map_url_format', 'http://nominatim.openstreetmap.org/search.php?q=%{pattern}', 'string');
|
$map_url_format = $this -> getParam('html_options.map_url_format', 'https://nominatim.openstreetmap.org/ui/search.html?q=%{pattern}', 'string');
|
||||||
$map_url_pattern_generate_function = $this -> getParam('html_options.map_url_pattern_generate_function');
|
$map_url_pattern_generate_function = $this -> getParam('html_options.map_url_pattern_generate_function');
|
||||||
$map_url_pattern_format = $this -> getParam('html_options.map_url_pattern_format');
|
$map_url_pattern_format = $this -> getParam('html_options.map_url_pattern_format');
|
||||||
if ($map_url_pattern_generate_function) {
|
if ($map_url_pattern_generate_function) {
|
||||||
|
|
Loading…
Reference in a new issue