We're changing forum

We've changed our software forum to a more lightweight and open source solution. This old forum is still available and will enter a read-only state soon. Please use this transition period to copy the material you wish to keep, as no automatic transfer will be performed.

Visit new forums
Jump to content

STYLE:DOT overlap


Bernardo Reis (1096507)

Recommended Posts

Bernardo Reis (1096507)

image.thumb.png.d03d2927a0d91c9ed0eb53826e0c628d.png

With STYLE:DOT, when multiple STARs overlap each other, the little dots almost combine and appear to form a solid line. Would it be possible to do something on code side to avoid this or we need to add each leg individually?

Link to comment
Share on other sites

Jannik Vogel (1432304)

Same for other styles: We avoided this by just vanishing every overlapping line in our Maps Code and only drawing lines that do not overlap.

Link to comment
Share on other sites

Juha Holopainen

You'll have to do as Jannik did or add at least the overlapping legs as individual lines. Polylines can probably be used as well, but every new overlapping section will need to be its own polyline so that it forces the line to "start again" to make the pattern match. For example XAMAX1A could be split to 3 polylines (XAMAX-NATID, NATID-MAZUK and MAZUK-PESEX) and if the other STARs overlapping it are similarly split, in theory the resulting drawing should work. If the maps are automatically generated and not handmade, it's probably easiest just to draw them leg by leg. From a coding point of view it's just by far easiest and fastest to draw what the user has specified instead of having to go through all previously drawn items to find out if an exact duplicate line has already been drawn and then skip it.

  • Like 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

When visiting this site, only cookies that are strictly necessary for you to use the website is being used, unless you have provided further consent. Read more in our Privacy Policy