Skip To Content ArcGIS for Developers Sign In Dashboard

KmlIconStyle Class

(Esri::ArcGISRuntime::KmlIconStyle)

A KML icon style object. More...

Header: #include <KmlIconStyle>
Since: Esri::ArcGISRuntime 100.7
Inherits: KmlColorStyle

Public Functions

KmlIconStyle(KmlIcon *icon, double scale, QObject *parent = nullptr)
~KmlIconStyle()
double heading() const
KmlImageCoordinate *hotSpot() const
KmlIcon *icon() const
double scale() const
void setHeading(double heading)
void setHotSpot(KmlImageCoordinate *hotSpot)
void setIcon(KmlIcon *icon)
void setScale(double scale)

Additional Inherited Members

Detailed Description

A KML icon style object.

Specifies how icons for placemarks and photo overlays with a point geometry are drawn. Color is blended with the existing color of the icon.

Member Function Documentation

KmlIconStyle::KmlIconStyle(KmlIcon *icon, double scale, QObject *parent = nullptr)

Creates an icon style with the specified icon and scale.

Note: A null icon will result in the default yellow pushpin icon being used.

icon Icon for drawing the point placemarks. scale Scale of the icon. parent Parent object of icon style.

KmlIconStyle::~KmlIconStyle()

Destructor

double KmlIconStyle::heading() const

The direction in decimal degrees.

See also setHeading().

KmlImageCoordinate *KmlIconStyle::hotSpot() const

The position within the icon that is anchored to the point specified in the placemark.

See also setHotSpot().

KmlIcon *KmlIconStyle::icon() const

The icon to be used by the placemark.

See also setIcon().

double KmlIconStyle::scale() const

The scale factor that should be applied to the rendered icon.

See also setScale().

void KmlIconStyle::setHeading(double heading)

Set the direction in decimal degrees to heading.

See also heading().

void KmlIconStyle::setHotSpot(KmlImageCoordinate *hotSpot)

Set the position within the icon that is anchored to the point specified in the placemark to hotSpot.

See also hotSpot().

void KmlIconStyle::setIcon(KmlIcon *icon)

Set the icon to be used by the placemark to icon.

See also icon().

void KmlIconStyle::setScale(double scale)

Sets the scale factor that should be applied to the rendered icon to scale.

See also scale().


Feedback on this topic?