From 151b229c3d4bebc19523f0a16124a7a229d7db80 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 24 Apr 2024 11:22:39 +0200 Subject: [PATCH] LSformElement_postaladdress: update OSM nominatim search URL --- src/includes/class/class.LSformElement_postaladdress.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/class/class.LSformElement_postaladdress.php b/src/includes/class/class.LSformElement_postaladdress.php index 2d7c4970..a09c0e3a 100644 --- a/src/includes/class/class.LSformElement_postaladdress.php +++ b/src/includes/class/class.LSformElement_postaladdress.php @@ -48,7 +48,7 @@ class LSformElement_postaladdress extends LSformElement_textarea { $return = parent :: getDisplay(); if ($this -> isFreeze()) { 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_format = $this -> getParam('html_options.map_url_pattern_format'); if ($map_url_pattern_generate_function) {