|
libosmscout 0.1
|
Object thats carry information about view center, angle and magnification. More...
#include <InputHandler.h>
Inheritance diagram for osmscout::MapView:Public Member Functions | |
| double | GetAngle () const |
| double | GetLat () const |
| double | GetLon () const |
| double | GetMag () const |
| double | GetMagLevel () const |
| double | GetMapDpi () const |
| bool | IsValid () const |
| MapView (const MapView &mv) | |
| This copy constructor don't transfer ownership in Qt hierarchy - it may cause troubles. | |
| MapView (const osmscout::GeoCoord ¢er, const Bearing &angle, const osmscout::Magnification &magnification, double mapDpi) | |
| MapView (QObject *parent, const osmscout::GeoCoord ¢er, const Bearing &angle, const osmscout::Magnification &magnification, double mapDpi) | |
| MapView (QObject *parent=nullptr) | |
| MapView & | operator= (const MapView &mv) |
| ~MapView () override=default | |
Public Attributes | |
| Bearing | angle |
| osmscout::GeoCoord | center |
| osmscout::Magnification | magnification |
Properties | |
| double | angle |
| double | lat |
| double | lon |
| double | mag |
| uint32_t | magLevel |
| double | mapDpi {0} |
Object thats carry information about view center, angle and magnification.
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
This copy constructor don't transfer ownership in Qt hierarchy - it may cause troubles.
| mv |
|
overridedefault |
|
inline |
Referenced by osmscout::MoveHandler::move(), and osmscout::MoveHandler::zoom().
|
inline |
Referenced by osmscout::MapWidget::changeView().
|
inline |
Referenced by osmscout::MapWidget::changeView().
|
inline |
|
inline |
|
inline |
|
inline |
References angle, center, magnification, and mapDpi.
| Bearing osmscout::MapView::angle |
| osmscout::GeoCoord osmscout::MapView::center |
| osmscout::Magnification osmscout::MapView::magnification |
Referenced by osmscout::MapWidget::changeView(), osmscout::LockHandler::currentPosition(), osmscout::MoveHandler::move(), osmscout::MoveHandler::moveNow(), operator=(), osmscout::operator==(), osmscout::MoveHandler::pivotBy(), osmscout::MoveHandler::rotateBy(), osmscout::MoveHandler::rotateTo(), osmscout::MapObjectInfoModel::setPosition(), osmscout::MapWidget::showCoordinatesInstantly(), osmscout::ZoomGestureHandler::touch(), osmscout::MultitouchHandler::touch(), osmscout::VehicleFollowHandler::vehiclePosition(), and osmscout::MoveHandler::zoom().
|
read |
Referenced by osmscout::MapWidget::changeView(), osmscout::LockHandler::currentPosition(), osmscout::MoveHandler::moveNow(), operator=(), osmscout::operator==(), osmscout::MoveHandler::pivotBy(), osmscout::MoveHandler::rotateBy(), osmscout::MoveHandler::rotateTo(), osmscout::MapObjectInfoModel::setPosition(), and osmscout::JumpHandler::showCoordinates().
|
read |
|
read |
|
read |
|
read |
|
read |