Iframe
定義
iframe を使用して、別の Web ページに Lizmap を埋め込むことができます。URL の 埋め込み によってビュー map を変更して、より軽いバージョンのインターフェイスを持つことをお勧めします。
たとえば、次の URL を使用します: /index.php/view/embed/?repository=my_repo&project=my_project。
設定
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.
警告
Ensure the referrer is provided to the iframe (you can use the referrerpolicy attribute : <iframe src="....." referrerpolicy="strict-origin-when-cross-origin" ></iframe> )
例
両方のリンクを参照して、違いを確認することができます。