mirror of
https://forge.chapril.org/tykayn/osm-commerces
synced 2025-06-20 01:44:42 +02:00
ajout view email proposé pour les commerçants
This commit is contained in:
parent
e71177dee1
commit
dbe2f62c45
12 changed files with 275 additions and 12 deletions
|
@ -216,6 +216,13 @@ out center tags;';
|
|||
return null;
|
||||
}
|
||||
|
||||
public function find_tag($tags, $tag) {
|
||||
if(isset($tags[$tag]) && $tags[$tag] != '') {
|
||||
return $tags[$tag];
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public function get_city_osm_from_zip_code($zip_code) {
|
||||
// Requête Overpass pour obtenir la zone administrative de niveau 8 avec un nom
|
||||
$query = "[out:json][timeout:25];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue