Added missing layer in map example for @turf/line-split docs#2724
Added missing layer in map example for @turf/line-split docs#2724smallsaucepan merged 7 commits intoTurfjs:masterfrom
Conversation
|
Thanks for fixing this @luc-tielen. Could I please make a small request? To go above and beyond would you mind making the split line multi coloured? That will make the result easier to visualise. If you expand the addToMap part to include the extra lines below, that should produce a map like the one shown. Let us know when that is done we can merge this in! |
|
Please also run |
|
Thanks @smallsaucepan for the suggestion, I didn't know this was possible. Let me know if I need to do anything else. Thanks! |
|
Thanks for doing this @luc-tielen. Apologies for taking a while to get it merged. |
|
@smallsaucepan No problem! Nice to see it got merged in the end. 😃 |

Very simple PR, I noticed in the docs a layer was missing for line-split.
(You can't see the actual "split" result, see https://turfjs.org/docs/api/lineSplit#examples.)