From a89b823f8d273711469cc63622f329598c067a7b Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Sat, 29 May 2021 15:22:20 +0200 Subject: [mod] remove overpass API call prepare the code the PR #90 --- searx/templates/oscar/result_templates/map.html | 13 ------------- searx/templates/simple/result_templates/map.html | 13 ------------- 2 files changed, 26 deletions(-) (limited to 'searx/templates') diff --git a/searx/templates/oscar/result_templates/map.html b/searx/templates/oscar/result_templates/map.html index 9713452b3..011ccc0bd 100644 --- a/searx/templates/oscar/result_templates/map.html +++ b/searx/templates/oscar/result_templates/map.html @@ -7,10 +7,6 @@ {%- endif -%} -{%- if result.osm and (result.osm.type and result.osm.id) -%} - -{%- endif -%} - {# {% if (result.latitude and result.longitude) %} {% endif %} #} @@ -39,15 +35,6 @@

{%- endif %} -{%- if result.osm and (result.osm.type and result.osm.id) -%} -
-
Loading ...
- - - -
-{%- endif -%} - {# {% if (result.latitude and result.longitude) %}
Longitude: {{ result.longitude }}
diff --git a/searx/templates/simple/result_templates/map.html b/searx/templates/simple/result_templates/map.html index 2de445168..15c89b070 100644 --- a/searx/templates/simple/result_templates/map.html +++ b/searx/templates/simple/result_templates/map.html @@ -7,9 +7,6 @@ {%- endif -%} -{%- if result.osm and (result.osm.type and result.osm.id) -%} - -{%- endif -%} {#- {% if (result.latitude and result.longitude) %} {{ icon('location') }} {{ _('show geodata') }} @@ -42,16 +39,6 @@ {{- result_sub_footer(result, proxify) -}} -{% if result.osm and (result.osm.type and result.osm.id) -%} - -{%- endif %} - {#- {% if (result.latitude and result.longitude) -%}