Closed josemvm closed 1 year ago
just remember LizmapTeam ;-)
I think you can already do it with the "QGIS HTML maptip" popup if you generate the correct HTML : https://www.w3docs.com/snippets/html/how-to-embed-pdf-in-html.html
But I haven't tried, it's just an idea. Some users are already integrating PDF viewer in Lizmap with custom Javascript and API.
hi @Gustry after several experiments, i can conclude that this can be done very easily:
popup source: QGIS HTML maptip:
<iframe src="[%"pdf_field_name"%]" width="100%" height="500px"></iframe>
popup source: Lizmap HTML:
<iframe src="{$pdf_field_name_OR_alias_pdf_field_name_if_exists}" width="100%" height="500px"></iframe>