Global

Methods

# createFlatLabelViewModel(feature, displayRule, sortKey, mapsIndoors) → {Object}

Create text label ViewModel.
Parameters:
Name Type Description
feature *
displayRule *
sortKey *
mapsIndoors *
Object

# createFloatingLabelViewModel(feature, displayRule, sortKey, mapsIndoors) → {Object}

Create floating label ViewModel.
Parameters:
Name Type Description
feature *
displayRule *
sortKey *
mapsIndoors *
Object

# getFloatingAndFlatLabelStyle(mapsIndoors, displayRule) → {Object}

Apply floating and flat label styles to existing set of feature properties.
Parameters:
Name Type Description
mapsIndoors Object
displayRule Object
LabelStyles
Object

# isClickable(feature) → {boolean}

Determine if the given feature is clickable.
Parameters:
Name Type Description
feature GeoJSON.Feature
boolean