Methods
# async createGraphicLabelViewModel(feature, displayRule, sortKey, mapsIndoors) → {object}
Create graphic label ViewModel.
Parameters:
Name | Type | Description |
---|---|---|
feature |
GeoJSON.Feature
|
|
displayRule |
DisplayRule
|
|
sortKey |
number
|
|
mapsIndoors |
object
|
object
# getGraphicLabelState(feature, isSelected, isHovered, isHighlighted) → {string}
Get Graphic Label display rules state.
Parameters:
Name | Type | Description |
---|---|---|
feature |
GeoJSON.Feature
|
|
isSelected |
boolean
|
|
isHovered |
boolean
|
|
isHighlighted |
boolean
|
string