question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Polylines with multiple color

See original GitHub issue

how to render multiple ploylines with different strokeColor ? @tomchentw @oshalygin <div> <Polyline path={props.wholePath[1].path} options={{strokeColor: 'red',strokeWeight: 6}}/> <Polyline path={props.wholePath[0].path} options={{strokeColor: 'grey',strokeWeight: 10}}/> </div> showing polyline with grey color only. Occupying red area also.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
jmoh7969commented, Aug 8, 2017

Tried with hash value and it is plotting properly. Doesn’t know why facing such issue. Now it’s working with hash values.

0reactions
oshalygincommented, Aug 8, 2017

Cool closing for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to have a multi colored poly line google maps
Create a separate polyline for each line segment that needs a different color: for (var j = 0; j < p.Cot.length-4; j +=...
Read more >
How to create a polyline with multi-colored segments?
An entity of the type polyline in AutoCAD DWG drawings can have only uniform properties of its segments, so it is not possible...
Read more >
Creating multicolored linetypes | AutoCAD
You cannot declare two different colors in an AutoCAD linetype definition. However, you can use this work-around to create multicolored lines/ ...
Read more >
create polylines with different colors in leaflet
I want to add poly lines with different colors every time. So how can I change color of polyline dynamically. You could use...
Read more >
Building complicated polylines with multiple colors in ...
Hello,. I'm currently trying to figure out how I can show traffic information in an overlay on a Google Map (in a country...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found