Function opacityDrivenByProperty
- opacityDrivenByProperty(
colorramp: ColorRamp,
property: string,
): DataDrivenPropertyValueSpecification<number>Parameters
- colorramp: ColorRamp
- property: string
Returns DataDrivenPropertyValueSpecification<number>
Was this helpful?
Turns a ColorRamp instance into a MapLibre style for ramping the opacity, driven by a property