1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-21 11:54:15 +01:00

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@745 ebee16cc-31ac-478f-84a7-5cbb03baadba

This commit is contained in:
pip 2010-06-11 15:58:42 +00:00 committed by pip
parent 39aaf0868a
commit 54a48953a4
4 changed files with 224 additions and 227 deletions

View File

@ -70,7 +70,7 @@ namespace qmapcontrol
* When you give no MouseMode, the mouse is moving the map. * When you give no MouseMode, the mouse is moving the map.
* You can change the MouseMode on runtime, to e.g. Dragging, which lets the user drag a rectangular box. * You can change the MouseMode on runtime, to e.g. Dragging, which lets the user drag a rectangular box.
* After the dragging a signal with the size of the box is emitted. * After the dragging a signal with the size of the box is emitted.
* The mousemode ´None´ can be used, to completely define the control of the map yourself. * The mousemode ´None´ can be used, to completely define the control of the map yourself.
* @param size the size which the widget should fill with map data * @param size the size which the widget should fill with map data
* @param mousemode the way mouseevents are handled * @param mousemode the way mouseevents are handled
*/ */
@ -118,7 +118,7 @@ namespace qmapcontrol
//! sets the middle of the map to the given coordinate //! sets the middle of the map to the given coordinate
/*! /*!
* @param coordinate the coordinate which the view´s middle should be set to * @param coordinate the coordinate which the view´s middle should be set to
*/ */
void setView ( const QPointF& coordinate ) const; void setView ( const QPointF& coordinate ) const;
@ -202,8 +202,8 @@ namespace qmapcontrol
/*! /*!
* This method sets the proxy for HTTP connections. * This method sets the proxy for HTTP connections.
* This is not provided by the current Qtopia version! * This is not provided by the current Qtopia version!
* @param host the proxy´s hostname or ip * @param host the proxy´s hostname or ip
* @param port the proxy´s port * @param port the proxy´s port
*/ */
void setProxy ( QString host, int port ); void setProxy ( QString host, int port );

View File

@ -27,8 +27,7 @@
namespace qmapcontrol namespace qmapcontrol
{ {
OpenAerialMapAdapter::OpenAerialMapAdapter() OpenAerialMapAdapter::OpenAerialMapAdapter()
// : TileMapAdapter("tile.openaerialmap.org", "/tiles/1.0.0/openaerialmap-900913/%1/%2/%3.png", 256, 0, 17) : TileMapAdapter("tile.openaerialmap.org", "/tiles/1.0.0/openaerialmap-900913/%1/%2/%3.png", 256, 0, 17)
: TileMapAdapter("tile.openaerialmap.org", "/tiles/1.0.0/openaerialmap-900913/%1/%2/%3.png", 256, 0, 22) // cmoss .. max_zoom increased
{ {
} }

View File

@ -27,8 +27,7 @@
namespace qmapcontrol namespace qmapcontrol
{ {
OSMMapAdapter::OSMMapAdapter() OSMMapAdapter::OSMMapAdapter()
// : TileMapAdapter("tile.openstreetmap.org", "/%1/%2/%3.png", 256, 0, 17) : TileMapAdapter("tile.openstreetmap.org", "/%1/%2/%3.png", 256, 0, 17)
: TileMapAdapter("tile.openstreetmap.org", "/%1/%2/%3.png", 256, 0, 22) // cmoss .. max_zoom increased
{ {
} }

View File

@ -27,8 +27,7 @@
namespace qmapcontrol namespace qmapcontrol
{ {
WMSMapAdapter::WMSMapAdapter(QString host, QString serverPath, int tilesize) WMSMapAdapter::WMSMapAdapter(QString host, QString serverPath, int tilesize)
// : MapAdapter(host, serverPath, tilesize, 0, 17) : MapAdapter(host, serverPath, tilesize, 0, 17)
: MapAdapter(host, serverPath, tilesize, 0, 22) // cmoss .. max_zoom increased
{ {
// param1 = serverPath.indexOf("%1"); // param1 = serverPath.indexOf("%1");
// param2 = serverPath.indexOf("%2"); // param2 = serverPath.indexOf("%2");