flutter_map icon indicating copy to clipboard operation
flutter_map copied to clipboard

[FEATURE] Support dashed `Polyline`s (in addition to dotted)

Open WillyAdrianus opened this issue 2 years ago • 2 comments

What do you want implemented?

if it is possible add dashed polyline with parameter isDashed: true and dashedWidth: {int}

What other alternatives are available?

No response

Can you provide any other information?

No response

Platforms Affected

Other

Severity

Obtrusive: No workarounds are available, and this is essential to me

Requirements

  • [X] I agree to follow this project's Code of Conduct
  • [X] I am using the latest stable version of this package
  • [X] I have checked for similar feature requests which may be duplicates

WillyAdrianus avatar Feb 17 '23 09:02 WillyAdrianus

I spent a little time today working on this. I'll get around to it in the coming weeks. If someone gets to it before me, if the lines could have miter joins like this design (from Figma if you want to play around with dashes), that'd be incredible:

image

MendleM avatar Mar 05 '23 10:03 MendleM

Hey @MendleM, did you ever get around to this? No problem if not!

JaffaKetchup avatar Jun 04 '23 20:06 JaffaKetchup

@JaffaKetchup @josxha Don't know how relevant it is today, but I've just coded something with a dash/space array that displays polylines with dashed lines (in those cases the polylines begin in France):

[50, 20, 30, 20] [60, 30, 40, 30]
Screenshot_1710677389 Screenshot_1710677685

Please assign this issue to me if you're interested.

[edited: added a second screenshot]

monsieurtanuki avatar Mar 17 '24 12:03 monsieurtanuki

Hey @monsieurtanuki, this looks excellent, we'd love to see it!

JaffaKetchup avatar Mar 17 '24 12:03 JaffaKetchup

Closed by #1855.

JaffaKetchup avatar Mar 27 '24 11:03 JaffaKetchup