My favorites | English | Sign in

Google Earth API

KmlOverlay Interface Reference

Inheritance diagram for KmlOverlay:

KmlFeature KmlObject GEEventEmitter KmlGroundOverlay KmlPhotoOverlay KmlScreenOverlay

List of all members.


Public Member Functions

KmlColor getColor ()
int getDrawOrder ()
void setDrawOrder (int drawOrder)
KmlIcon getIcon ()
void setIcon (KmlIcon icon)

Detailed Description

The KmlOverlay object is an abstract object and cannot be used directly in a KML file. Overlay is the base type for image overlays drawn on the planet surface or on the screen. Icon specifies the image to use and can be configured to reload images based on a timer or by camera changes. This object also includes specifications for stacking order of multiple overlays and for adding color and transparency values to the base image.

Member Function Documentation

KmlColor KmlOverlay.getColor (  ) 

Specifies the color values.

int KmlOverlay.getDrawOrder (  ) 

Defines the stacking order for the images in overlapping overlays. Overlays with higher drawOrder values are drawn on top of overlays with lower drawOrder values.

void KmlOverlay.setDrawOrder ( int  drawOrder  ) 

Defines the stacking order for the images in overlapping overlays. Overlays with higher drawOrder values are drawn on top of overlays with lower drawOrder values.

KmlIcon KmlOverlay.getIcon (  ) 

Defines the image associated with the Overlay.

void KmlOverlay.setIcon ( KmlIcon  icon  ) 

Defines the image associated with the Overlay.