Skip to main content

@mapgear/geoapps > IconStyle

IconStyle class

Represents the styling of an Icon symbology

Signature:
export declare class IconStyle 

Properties

PropertyModifiersTypeDescription
Anchornumber[]Anchor of the icon (standard it is center-bottom)
HeightnumberHeight of the icon
LegendstringURL used for the icon display in the legend
LockRotationbooleanWhether to lock the icon rotation (true) or keep the icon always north (false)
RotationnumberRotation in degrees, 0 is north
RotationFieldstringDefine a field that contains the rotation in degrees, 0 is north
RotationOffsetnumberOffset of the rotation which is added to the rotations provided
UrlstringURL to the icon
WidthnumberWidth of the icon