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 featurePropertiesObject Feature properties. pathString 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 featurePropertiesObject Feature properties. fieldString Field to get value. Returns:
Value from given field.