Logo Search packages:      
Sourcecode: qmk-groundstation version File versions  Download package

qmapcontrol::WMSMapAdapter Class Reference

#include <wmsmapadapter.h>

Inheritance diagram for qmapcontrol::WMSMapAdapter:

qmapcontrol::MapAdapter

List of all members.


Detailed Description

MapAdapter for WMS servers.

Use this derived MapAdapter to display maps from WMS servers

Author:
Kai Winter <kaiwinter@gmx.de>

Definition at line 38 of file wmsmapadapter.h.


Public Member Functions

virtual int adaptedZoom () const
virtual QPoint coordinateToDisplay (const QPointF &) const
 translates a world coordinate to display coordinate
int currentZoom () const
 returns the current zoom
virtual QPointF displayToCoordinate (const QPoint &) const
 translates display coordinate to world coordinate
QString host () const
 returns the host of this MapAdapter
int maxZoom () const
 returns the max zoom value
int minZoom () const
 returns the min zoom value
int tilesize () const
 returns the size of the tiles
 WMSMapAdapter (QString host, QString serverPath, int tilesize=256)
 constructor

Protected Member Functions

virtual bool isValid (int x, int y, int z) const
virtual QString query (int x, int y, int z) const
virtual void zoom_in ()
virtual void zoom_out ()

Protected Attributes

int current_zoom
QLocale loc
int max_zoom
int middle_x
int middle_y
int min_zoom
QString myhost
int mytilesize
qreal numberOfTiles
int order [3][2]
int param1
int param2
int param3
int param4
int param5
int param6
QString serverPath
QSize size
QString sub1
QString sub2
QString sub3
QString sub4
QString sub5
QString sub6

Private Member Functions

virtual QString getQ (qreal ux, qreal uy, qreal ox, qreal oy) const

Private Attributes

qreal coord_per_x_tile
qreal coord_per_y_tile

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index