1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 23:03:22 +02:00
GPXSee/src/map/latlon.h

16 lines
306 B
C
Raw Normal View History

2017-03-29 22:51:32 +02:00
#ifndef LATLON_H
#define LATLON_H
#include "projection.h"
class LatLon : public Projection
{
public:
virtual QPointF ll2xy(const Coordinates &c) const
{return QPointF(c.lon(), c.lat());}
2017-03-29 22:51:32 +02:00
virtual Coordinates xy2ll(const QPointF &p) const
{return Coordinates(p.x(), p.y());}
2017-03-29 22:51:32 +02:00
};
#endif // LATLON_H