Iframe
Princip
Lizmap je možné vložit do jiné webové stránky pomocí iframe. Doporučujeme vám změnit zobrazení map na embed v adrese URL, abyste měli k dispozici lehčí verzi rozhraní.
Použijte například tuto adresu URL: /index.php/view/embed/?repository=my_repo&project=my_project.
Konfigurace
To prevent security issues, you need to explicitly declare websites allowed to embed your Lizmap iframe. Fill the List of websites allowed to embed iframe field that can be defined for each the repository in Maps management.
Varování
Ensure the referrer is provided to the iframe (you can use the referrerpolicy attribute : <iframe src="....." referrerpolicy="strict-origin-when-cross-origin" ></iframe> )
Příklad
Můžete navštívit oba odkazy, abyste viděli rozdíl :