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

qmapcontrol::GoogleMapAdapter Class Reference

#include <googlemapadapter.h>

Inheritance diagram for qmapcontrol::GoogleMapAdapter:

qmapcontrol::TileMapAdapter qmapcontrol::MapAdapter

List of all members.

Detailed Description

MapAdapter for Google.

This is a conveniece class, which extends and configures a TileMapAdapter

Kai Winter <kaiwinter@gmx.de>

Definition at line 38 of file googlemapadapter.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
 GoogleMapAdapter ()
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

Public Attributes

qreal PI

Protected Member Functions

qreal deg_rad (qreal) const
virtual bool isValid (int x, int y, int z) const
virtual QString query (int x, int y, int z) const
qreal rad_deg (qreal) const
virtual int tilesonzoomlevel (int zoomlevel) const
virtual int xoffset (int x) const
virtual int yoffset (int y) 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

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

Generated by  Doxygen 1.6.0   Back to index