marble
examples/cpp/basic-routing/main.cpp
Go to the documentation of this file.
This file contains the headers for MarbleModel.
void setProjection(int projection)
Set the Projection used for the map.
Definition: MarbleWidget.cpp:591
void append(const GeoDataCoordinates &coordinates, const QString &name=QString())
Add the given element to the end.
Definition: RouteRequest.cpp:218
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:104
RoutingProfile defaultProfile(RoutingProfile::TransportType transportType) const
Generates a routing profile with default settings for the given transport type.
Definition: RoutingManager.cpp:342
void setRoutingProfile(const RoutingProfile &profile)
Definition: RouteRequest.cpp:315
Delegates data retrieval and model updates to the appropriate routing provider.
Definition: RoutingManager.h:37
void centerOn(const qreal lon, const qreal lat, bool animated=false)
Center the view on a geographical point.
Definition: MarbleWidget.cpp:549
int exec()
This file contains the headers for MarbleWidget.
void setDistance(qreal distance)
Set the distance of the observer to the globe in km.
Definition: MarbleWidget.cpp:1076
void show()
GeoDataCoordinates at(int index) const
Accessor for the n-th position.
Definition: RouteRequest.cpp:149
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.