Methods
# calculateWidthAndHeightOffset(iconSize, displayRule, widthPadding) → {Object}
Calculates width and height offsets relative to the anchor point.
Parameters:
Name | Type | Description |
---|---|---|
iconSize |
Object
|
Object containing width and height of the icon. |
displayRule |
Object
|
Object containing display rules. |
widthPadding |
number
|
Padding use for widthOffset value. |
- Object containing calculated widthOffset and heightOffset.
Object
# getCommonLabelStyle(mapsIndoors, displayRule) → {object}
Gets shared Label Style.
Parameters:
Name | Type | Description |
---|---|---|
mapsIndoors |
object
|
|
displayRule |
DisplayRule
|
object