Leaflet.hotline
Leaflet.hotline copied to clipboard
RGBA values or opacity
Is it possible to configure some alpha to generate smoothly faded polys with this plugin?
This plugin does not support RGBA palette colours or a general opacity at the moment. That's because a path consists of multiple separately drawn lines, one for each line segment. The lines overlap on the start- and endpoints and with semitransparent lines there would be circles there.
I'll have a look to maybe use ctx.globalCompositeOperation
in an upcoming release to support alpha values.
Bump. Any further thoughts on this?
Opacity will be greate!
Is related PR getting reviewed? https://github.com/iosphere/Leaflet.hotline/pull/23
Bump here - The PR should fix this (albeit with some extras put into it!). @klaftertief ?