A StyleValueFunction is a function that returns the desired value for the respective style property. It's especially useful for data driven styling.
the feature for which the style is to be obtained
the zoomlevel of the style
text: (feature, zoom) => feature.properties.name Copy
text: (feature, zoom) => feature.properties.name
A StyleValueFunction is a function that returns the desired value for the respective style property. It's especially useful for data driven styling.