NodeMarkup icon indicating copy to clipboard operation
NodeMarkup copied to clipboard

Support a background color behind dashed (or non-solid) lines

Open brandonscript opened this issue 4 years ago • 3 comments

Which area of IMT is your request about? (ex: Lines, Fillers, UI)

Lines

Describe your idea clearly and concisely.

In some cases, I want to be able to draw over top of existing lines, but this is hard when using dashed lines because the length/gap may not match up with the existing lines, so they show through. It would be great to have a "background" color, where the lines drawn will completely cover the existing road lines, even when using dashes.

Screenshots?

Provide a visual if possible what your idea would look like Screen Shot 2021-05-19 at 12 53 04 PM Screen Shot 2021-05-19 at 12 53 04 PM-edit copy

brandonscript avatar May 19 '21 21:05 brandonscript

Hi @brandonscript,

I tried to implement it but, there is issue with lines, they are painting in bad order and straight instead curved. But I have found different solution and filmed here: YouTube 2:03 Note: Line points must be splitted and filler must be connected to line which may be not the under-painted.

Issue of non-curved lines is at the begining of video @MacSergey

DeznekCZ avatar Oct 20 '21 21:10 DeznekCZ

I wonder if an easier solution is just to support multiple lines per node-set? You could then z-order them (so the dashed lines would be on top of the solid, road-coloured line)?

brandonscript avatar Oct 21 '21 05:10 brandonscript

I will try to find something in code but, It would be a bit complicated, because of very well made abstraction.

DeznekCZ avatar Oct 21 '21 16:10 DeznekCZ