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="" target="_blank"><img src=""></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))
                runOnUiThread {


after adding .jointType(JointType.ROUND)

there is another problem

android google-maps kotlin

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Top Android Projects with Source Code

Android projects with source code - Work on real-time android projects. We’ll start project ideas from beginners level and later move to advance projects.

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!

Why Google preferred Kotlin-First Approach for Android App Development?

In 2019 Google announced that Kotlin would be their preferred language for Android app development. A...

Building Dark Mode Theme in Android

Hello World, today we are going to see how we can implement a dark theme or night mode in our android application. This tutorial is going to be very simple and easy to understand. The dark theme is attractive to users and it is comfortable for low light conditions.

How to Integrate Google Maps in React Native App on Android

In this React Native tutorial, I will explain how to integrate Google Maps in React Native App into Android. Create React Native Application. Install react-native-maps package. Configuration on Android. Enable Google Maps on iOS. Create a Google Maps API Key. Run the React Native App