3liz / lizmap-plugin

Lizmap plugin for QGIS, allowing to publish QGIS maps to Lizmap Web Client
https://www.lizmap.com/
GNU General Public License v2.0
62 stars 31 forks source link

address provider - google #477

Closed josemvm closed 1 year ago

josemvm commented 1 year ago

Description

imagem

Context

opbernardo commented 1 year ago

Same thing here...

It is a bug?

I think, if, "Lizmap" needs the "Google API key" for "search functionality", then there must be a space where we can put this key that serves as the search key?

QGIS version: 3.22.4 Lizmap version: 3.5 - Stable OS: Ubuntu 22

Thank you.

Gustry commented 1 year ago

I think it depends how the JSON is read. From the CFG (when opening the plugin), if google is activated before the Google key is set, it will trigger this warning.

I will try to have a look to disable the check when reading the CFG file.

opbernardo commented 1 year ago

Hi @Gustry, Thank you very much. Best regards

Gustry commented 1 year ago

Are you using both the latest version available ? I already see a fix in version 3.9.5 - 2022-11-29 https://github.com/3liz/lizmap-plugin/blob/master/CHANGELOG.md#395---2022-11-29 https://github.com/3liz/lizmap-plugin/blob/master/lizmap/plugin.py#L553..L556

opbernardo commented 1 year ago

I 'm using 3.10.1 version... Screenshot from 2023-03-09 16-25-33