From 84f65df0a794dee2ee21e80f83ed9e589412acc1 Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Thu, 20 Jan 2022 01:46:38 -0600 Subject: Changed addAreal to addLinear to avoid connecting report polyline ends --- .../src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'androidApp/src/main/java/mx/trackermap/TrackerMap/android/map') diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt index 37956c1..c483d52 100644 --- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt +++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt @@ -240,7 +240,7 @@ open class MapFragment : GlobeMapFragment() { /* Draw polyline for report */ if (isReport && markers.isNotEmpty()) { val vector = VectorObject() - vector.addAreal(points) + vector.addLinear(points) objects.add(mapControl.addVector( vector, -- cgit v1.2.3