Google Earth API

KmlIcon Interface Reference

Inheritance diagram for KmlIcon:
Inheritance graph

List of all members.

Public Member Functions

double getX ()
void setX ()
double getY ()
void setY ()
double getW ()
void setW ()
double getH ()
void setH ()

Detailed Description

Defines an image associated with an Icon style or overlay.

Member Function Documentation

double KmlIcon.getX ( )

Gets the offset from the left (<gx:x>), in pixels, of the icon.

void KmlIcon.setX ( )

Specifies the icon's offset (<gx:x>), in pixels from the left side of its icon palette, if a palette has been specified in the <href> element.

double KmlIcon.getY ( )

Gets the offset from the bottom (<gx:y>), in pixels, of the icon.

void KmlIcon.setY ( )

Specifies the offset (<gx:y>), in pixels from the bottom of its icon palette, if a palette has been specified in the <href> element.

double KmlIcon.getW ( )

Gets the width (<gx:w>), in pixels, of the icon.

void KmlIcon.setW ( )

Specifies the width (<gx:w>), in pixels, of the icon to use.

double KmlIcon.getH ( )

Gets the height (<gx:h>), in pixels, of the icon.

void KmlIcon.setH ( )

Specifies the height (<gx:h>), in pixels, of the icon to use.

Authentication required

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

Signing you in...

Google Developers needs your permission to do that.