modaresimr / earth-api-samples

Automatically exported from code.google.com/p/earth-api-samples
1 stars 0 forks source link

a means of getting LookAt/Camera info from loaded KML while in API #62

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Since <LookAt> and <Camera> elements can be nested in a variety of objects,
including folders, and placemarks, a function to retrieve the information
in java would be really handy.

For example.

var cam = placemark.getViewAsCamera();
var la = folder.getViewAsLookAt();

cam.getTilt();
etc etc...

Original issue reported on code.google.com by trstnmk...@gmail.com on 22 Aug 2008 at 9:31

GoogleCodeExporter commented 8 years ago
There's already a "getAbstractView()" function on placemarks and folders?

See: 
http://code.google.com/apis/earth/documentation/reference/interface_kml_feature.
html

Original comment by cds...@gmail.com on 3 Sep 2008 at 5:06

GoogleCodeExporter commented 8 years ago
See comment posted by cdsmth re: getAbstractView

Original comment by api.roman.public@gmail.com on 6 Oct 2008 at 7:21