new StyleModel()
modules/vectorStyle/style.js, line 9
Class to maintain some methods.
Extends
Methods
-
getValueFromPath(featureProperties, path){*}
modules/vectorStyle/style.js, line 68 -
Returns the value from the given path.
Name Type Description featureProperties
Object Feature properties. path
String Field as object path. Returns:
Value from given path.
-
prepareField(featureProperties, field){*}
modules/vectorStyle/style.js, line 49 -
Returns the value of the given field. Also considers that the field can be an object path.
Name Type Description featureProperties
Object Feature properties. field
String Field to get value. Returns:
Value from given field.