TransformStyleFunction()
TransformStyleFunction: (
previous
:StyleSpecification
|undefined
,next
:StyleSpecification
) =>StyleSpecification
Parameters
Parameter | Type | Description |
---|---|---|
previous |
StyleSpecification | undefined |
The current style. |
next |
StyleSpecification |
The next style. |
Returns
StyleSpecification
resulting style that will to be applied to the map