Google Earth API

KmlModel Interface Reference

Inheritance diagram for KmlModel:
Inheritance graph

List of all members.

Public Member Functions

KmlLocation getLocation ()
void setLocation (KmlLocation location)
KmlOrientation getOrientation ()
void setOrientation (KmlOrientation orientation)
KmlScale getScale ()
void setScale (KmlScale scale)
KmlLink getLink ()
void setLink (KmlLink link)

Detailed Description

A 3D object described in a referenced COLLADA file. COLLADA files have a .dae file extension. Models are created in their own coordinate space and then located, positioned, and scaled in Google Earth. Google Earth supports the COLLADA common profile, with the following exceptions:

  • Google Earth supports only triangles and lines as primitive types. The maximum number of triangles allowed is 21845.
  • Google Earth does not support animation or skinning.
  • Google Earth does not support external geometry references.

Member Function Documentation

Specifies the exact coordinates of the Model's origin in latitude, longitude, and altitude. Latitude and longitude measurements are standard lat-lon projection with WGS84 datum. Altitude is distance above the earth's surface, in meters, and is interpreted according to altitudeMode.

void KmlModel.setLocation ( KmlLocation  location)

Specifies the exact coordinates of the Model's origin in latitude, longitude, and altitude. Latitude and longitude measurements are standard lat-lon projection with WGS84 datum. Altitude is distance above the earth's surface, in meters, and is interpreted according to altitudeMode.

Describes rotation of a 3D model's coordinate system to position the object in Google Earth.

void KmlModel.setOrientation ( KmlOrientation  orientation)

Describes rotation of a 3D model's coordinate system to position the object in Google Earth.

Scales a model along the x, y, and z axes in the model's coordinate space

void KmlModel.setScale ( KmlScale  scale)

Scales a model along the x, y, and z axes in the model's coordinate space

Sets the link of the collada model.

void KmlModel.setLink ( KmlLink  link)

Sets the link of the collada model.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.