mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
Map: Add PFD, first person view and path smoothing. Only send changes via CZML.
This commit is contained in:
@@ -50,6 +50,15 @@ void CesiumInterface::setView(float latitude, float longitude, float altitude)
|
||||
send(obj);
|
||||
}
|
||||
|
||||
void CesiumInterface::setViewFirstPerson(bool firstPerson)
|
||||
{
|
||||
QJsonObject obj {
|
||||
{"command", "setViewFirstPerson"},
|
||||
{"firstPerson", firstPerson}
|
||||
};
|
||||
send(obj);
|
||||
}
|
||||
|
||||
// Play glTF model animation for the map item with the specified name
|
||||
void CesiumInterface::playAnimation(const QString &name, Animation *animation)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user