{% load i18n static sekizai_tags cms_tags %} {% get_current_language as LANGUAGE_CODE %}
{% for plugin in instance.child_plugin_instances %} {% render_plugin plugin %} {% endfor %}
{% comment %} prevents a disaligne bug of the images in the controls, when the map is redrawn (trigger of the event 'cms-content-refresh'), taken from googles examples {% endcomment %} {% if request.toolbar and request.toolbar.edit_mode_active or request.toolbar and request.toolbar.edit_mode %} {% addtoblock "css" %} {% endaddtoblock %} {% endif %} {% comment %} cms_js_classes are for injecting and executing javascript code properly, when the plugin is added to a page for the first time {% endcomment %} {% with cms_js_classes="cms-execute-js-to-render cms-trigger-event-window-load" %} {% addtoblock "js" %} {% spaceless %} {% endspaceless %} {% endaddtoblock %} {% addtoblock "js" %} {% spaceless %} {% endspaceless %} {% endaddtoblock %} {% endwith %} {% comment %} {{ googlemap_key }} {{ instance.title }} {{ instance.width }} {{ instance.height }} {{ instance.zoom }} {{ instance.style }} {{ instance.map_id }} {{ instance.map_type_control }} {{ instance.zoom_control }} {{ instance.street_view_control }} {{ instance.rotate_control }} {{ instance.scale_control }} {{ instance.fullscreen_control }} {{ instance.pan_control }} {{ instance.double_click_zoom }} {{ instance.draggable }} {{ instance.keyboard_shortcuts }} {{ instance.scrollwheel }} {% endcomment %}