hi, in which file .js is possible modify the title and the text what show
in the popup "informazioni"?
The title and the text is extracted from the WMS GetCapabilities. You can update the QGIS Project properties to update it.
Yes it is possible by using this code :
$("div#content div#metadata.tab-pane div div dl.dl-vertical dt:contains('Title')").html("New title");
$("div#content div#metadata.tab-pane div div dl.dl-vertical dd:contains('Old value')").html("New value");
We try with:
lizMap.events.on({
mapcreated: function(e) {
$("div#content div#metadata.tab-pane div div dl.dl-vertical dt:contains('Organization')").html("New name for organization");
}
});
It works!!
It is possible to add image as html content?
It is possible to add image as html content?
As you can use the media folder and add the image path with the JS.
Follow https://docs.lizmap.com/next/en/publish/customization/javascript.html#url-of-a-static-file
Issue solved!