{% load i18n %} {% comment %} Reusable map location picker component. Renders a MapLibre map. Address search is provided by AddressSearchControl (address_search_control.js), which is added to the map programmatically. Clicking the map places a draggable marker that writes back to id_lat / id_lon. Required context: form (must have lat and lon fields) JS initialisation: call window.initLocationPickerMap() after injecting this HTML into the DOM (handled by location_edit_modals.html). {% endcomment %} {# Hidden lat/lon inputs – submitted with the form; JS writes to them. #}