Avoid adding x-y-z structure of tile server if the url end with a key
We previously added the x-y-z structure "%z/%x/%y.png" if the url did
not end with ".png". This is not very flexible and will not allow to add
an apikey that does not end with ".png". Searching for "%x" instead
should be more flexible.
Fixes: QTBUG-115742
Change-Id: I0ec4cf1713292896b84894224c1e279babc486ed
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| commit | fe4580824b92d69349eb8bba5de3d48dd8d9a71c |
| parent | afa75142d118d750bd13d02c104140ff77cb9339 |
| author | Matthias Rauter <matthias.rauter@qt.io> |
| committer | Matthias Rauter <matthias.rauter@qt.io> |
| commit time | Thu, 23 Nov 2023 07:15:18 +0100 |