{% load i18n inlinetrans contenttype map_tags thumbnail %} {% if content_pois or display_content or content_areas %}

{% inline_trans "Map" %}

{% if show_directions %}

{% inline_trans "How to get there?" %}

{% endif %} {% if travel_directions %}
{{ travel_directions_ajax_url }} {% inline_trans "Calculate travel route" %}
{% endif %}
X
{% if show_map %}
{% if zoom_to_bounds %} {{ bounds.0 }} {{ bounds.1 }} {{ bounds.2 }} {{ bounds.3 }} {% else %} {% if content.main_location %} {{ content.main_location.y }} {{ content.main_location.x }} {% endif %} {% endif %} {% if markers_url %} {{ markers_url }} {% endif %} {% if not pois_hidden_initially %} 1 {% endif %}
{% if display_content %} {% if content.location.main_location %} {% content_type content as content_type %}
{{ content.id }} {% url content_info content_type=content_type.id, content_id=content.id %}?lang={{ LANGUAGE_CODE }} {{ content.main_location.y }} {{ content.main_location.x }} {{ content.name }} {{ content.get_cluster_text }} {{ content.get_cluster_icon_name }} {% if show_main_image %} {% thumbnail content.main_image 40x40 %} {% else %} {{ content.get_icon }} {% endif %} 1
{% else %} {% if content.main_location %} {# is a city or village #} {% content_type content as content_type %}
{{ content.id }} {% url content_info content_type=content_type.id, content_id=content.id %} {{ content.main_location.y }} {{ content.main_location.x }} {{ content.name }} {% if show_main_image %} {% thumbnail content.main_image 40x40 %} {% else %} {{ content.get_icon }} {% endif %} 19 35 10 35 1
{% endif %} {% endif %} {% endif %}
{% endif %}
{% endif %}