[Interest] QtLocation and API key

Sze Howe Koh szehowe.koh at gmail.com
Tue Aug 8 03:57:46 CEST 2023


Hello Petric,

The OpenStreetMap plugin originally did not require an API key.
However, the previous tile server stopped working, so a new tile
server (Thunderforest) was chosen to replace it. Thunderforest wants
an API key, which is why you see the watermark.

Qt Location needs to be updated to pass an API key to Thunderforest. See:
* https://bugreports.qt.io/browse/QTBUG-114118
* https://bugreports.qt.io/browse/QTBUG-115742


Regards,
Sze-Howe


On Mon, 7 Aug 2023 at 20:49, Petric Frank <pfrank at gmx.de> wrote:
>
> Hello,
>
> i compiled the example "minimal_map". It runs well except there is a watermark
> "API Key Required" at the picture.
>
> By reading some web pages (here: https://uxper.gitbook.io/wp-golo/faqs/how-to-create-an-api-key-for-openstreetmap) it seems you can obtain one from MapBox.
> But how to integrate it into the (example) application ?
>
> Or am i on the wrong track ?
>
> kind regards
>   Petric


More information about the Interest mailing list