1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 19:55:53 +01:00

Use image/png as the default image format

This commit is contained in:
Martin Tůma 2018-02-24 22:31:37 +01:00
parent 757ba6a566
commit 55e967673c

View File

@ -124,7 +124,8 @@ RectC MapSource::bounds(QXmlStreamReader &reader)
Map *MapSource::map(QXmlStreamReader &reader) Map *MapSource::map(QXmlStreamReader &reader)
{ {
QString name, url, format, layer, style, set; QString name, url, layer, style, set;
QString format("image/png");
bool invert = false; bool invert = false;
Range z(ZOOM_MIN, ZOOM_MAX); Range z(ZOOM_MIN, ZOOM_MAX);
RectC b(Coordinates(BOUNDS_LEFT, BOUNDS_TOP), RectC b(Coordinates(BOUNDS_LEFT, BOUNDS_TOP),