I try to pan Google Earth relative to the current view with the GE-PlugIn in C# (Interop.GEPlugin.dll) as described in the documentation (https://developers.google.com/earth/documentation/camera_control) with a fixed FlyToSpeed.
While setting the FlyToSpeed to SPEED_TELEPORT, everything works fine as expected:
ge.getOptions().setFlyToSpeed(ge.SPEED_TELEPORT);
var lookAt = ge.getView().copyAsLookAt(ge.ALTITUDE_ABSOLUTE)
lookAt.setLongitude(lookAt.getLongitude() + 1);
ge.getView().setAbstractView(lookAt); // Works as expected
Setting the FlyToSpeed to specific number, the panning is disturbed with a increasing zoom out behavior:
ge.getOptions().setFlyToSpeed(3);
var lookAt = ge.getView().copyAsLookAt(ge.ALTITUDE_ABSOLUTE)
lookAt.setLongitude(lookAt.getLongitude() + 1);
ge.getView().setAbstractView(lookAt); // why the view zooms out while panning?
If anybody had an idea or an approach, I would be very happy. Thank you in advance for your help.