5 #include "projection.h"
10 class WorldFileMap
: public Map
15 WorldFileMap(const QString
&fileName
, QObject
*parent
= 0);
18 RectC
llBounds(const Projection
&proj
);
20 QPointF
ll2xy(const Coordinates
&c
);
21 Coordinates
xy2ll(const QPointF
&p
);
23 void draw(QPainter
*painter
, const QRectF
&rect
, Flags flags
);
25 void load(const Projection
&in
, const Projection
&out
, qreal deviceRatio
,
29 bool isValid() const {return _valid
;}
30 QString
errorString() const {return _errorString
;}
32 static Map
*create(const QString
&path
, bool *isDir
);
35 Projection _projection
;
47 #endif // WORLDFILEMAP_H