Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7781187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T19:08:49+00:00 2026-06-01T19:08:49+00:00

In Google Earth (web browser plug-in, GE API), I am moving the camera from

  • 0

In Google Earth (web browser plug-in, GE API), I am moving the camera from point A to point B by changing the coordinates.
It works, but GE always seems to do a high jump while enroute.

Example (using ge.ALTITUDE_ABSOLUTE setting)

Point A:  camera.setLatitude(50.1);camera.setLongitude(14.1);camera.setAltitude(1000.0); 
Point B:  camera.setLatitude(51.1);camera.setLongitude(15.1);camera.setAltitude(1000.0); 

(note identical altitude 1000 m at both points).

The location change works fine, but enroute GE zooms out with Eye Alt. going up to 72 km, and then back again to the desired 1000.0 m (value read off the status line, with flyTo speed set to very slow).

Is there a way to suppress this high jumping, and stay at a fixed altitude?
I can’t so far not even find a comprehensive description of this behaviour, let alone parameters to control it.

(Obviously, “flightsim” type GE applications can do it, but I think they are not using coordinate changes, but rather basing movement on heading/speed data). But it would seem somewhat silly to have to turn the two coordinate sets first into speed/velocity and then back into coordinates, only to achieve constant altitude movement.)

Thanks for all hints.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T19:08:50+00:00Added an answer on June 1, 2026 at 7:08 pm

    If you are looking for smooth animation when using the GE plugin, then I can flat out tell you that the default algorithm that GE uses will not suffice. Your best bet will be to set the flyToSpeed to teleport like this:

    ge.getOptions().setFlyToSpeed(ge.SPEED_TELEPORT);
    

    and then create the transition path yourself, either by interpolating the frames inbetween the starting point and the ending point, or predefining those frames (hint: you will need a lot more intermediary points).

    The easiest way to do this, is to hook into the frameend event, which fires as soon as the plugin completes drawing the screen, and then immediately reposition the camera. The best example I can think of that demonstrates this is here:

    http://earth-api-samples.googlecode.com/svn/trunk/examples/event-frameend.html

    unfortunately, this example works in a straight line, making the camera curve is much mor e challenging.

    Another alternative might be to check out the GE plugins native support for KML, by loading a KML tour, and playing through the plugin, you can make the plugin do the heavy lifting,

    https://developers.google.com/earth/documentation/kml

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running google earth in a web browser that is embedded in a c#
Im using the google earth v1 javascript API to update hundreds of objects moving
I'm trying to make a navigation/control panel for a Google Earth browser API. So
Using the Google Earth API I have created some placemarks at specific coordinates. Now
I'm using the Google Earth Web-plugin API and I've got a 3d model of
I am currently working on a project that uses a Google Earth API library
can we find area on earth using any web service powered by Google or
Is there a way to incrementally draw a line in the Google Earth Plug-in
I'm trying to extend KmlPlacemark in the Google Earth API . Google uses factory
Is it possible to capture the graphics object created by the Google Earth browser

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.