Google maps directions - spaces between polylines

Google maps directions - spaces between polylines

I am facing this ugly problem, can anyone solve this ? I want to get rid of that ugly spacec between lines. I need to keep the width.<a href="https://i.stack.imgur.com/zto4m.jpg" target="_blank"><img src="https://i.stack.imgur.com/zto4m.jpg"></a>

I am facing this ugly problem, can anyone solve this ? I want to get rid of that ugly spacec between lines. I need to keep the width.

code(adding polylines) :

thread {
        val response = getResponse(points[1].location, points[2].location, "driving21.").log()
        when (response) {

        is Result.Failure -&gt; "Fail".log()

        is Result.Success -&gt;
            response.value.routes[0].listOfLegs[0].listOfSteps.forEach { element -&gt;
                //                    element.points.log()
                val options = PolylineOptions()
                options.color(Color.rgb(255, 26, 140))
                options.width(50F)
                options.addAll(PolyUtil.decode(element.points))
                runOnUiThread {
                    map.addPolyline(options)
                }
            }
    }

EDIT:

after adding .jointType(JointType.ROUND)

there is another problem

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

Kotlin Coroutines on Android - How to use Coroutines on Android

Coroutines are a Kotlin feature that convert async callbacks for long-running tasks, such as database or network access, into sequential code. This Kotlin Coroutines tutorial will show you how to use coroutines on Android, and how the new androidx-concurrent library makes it easy to use them to get things off the main thread. You'll also learn how the new library helps coroutines work with Architecture Components. This session also covers coroutine patterns, best practices, and even how to test coroutines!

React Apps with the Google Maps API and google-maps-react

This tutorial aims at integrating the google maps API to your React components and enabling you to display maps on your website.

How to use Kotlin - from the Lead Kotlin Language Designer

In this Kotlin tutorial, the lead Kotlin language designer will show you how you can write more idiomatic Kotlin, what the benefits are, and help you discover some of the most powerful yet lesser known features of Kotlin. Kotlin is similar to the Java programming language, so it's natural that your Kotlin code looks very much like Java code when you are first start to use the language.