Closed Earthwings closed 7 years ago
Some tile servers (e.g. openstreetmap.org) require a valid user agent. Fixes using http://a.tile.openstreetmap.org/{z}/{x}/{y}.png as tile url (Object URI).
The enum value UserAgentHeader is Qt5, while this project supports both Qt4 and Qt5. If you use setRawHeader w/ the key User-Agent this should be fine on both.
UserAgentHeader
User-Agent
Good point, I changed it accordingly.
Some tile servers (e.g. openstreetmap.org) require a valid user agent. Fixes using http://a.tile.openstreetmap.org/{z}/{x}/{y}.png as tile url (Object URI).