diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-01-20 01:46:38 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-01-20 01:46:38 -0600 |
commit | 84f65df0a794dee2ee21e80f83ed9e589412acc1 (patch) | |
tree | 328ce25f9a95042299164d14f1c6a4295aa9533d /androidApp/src/main/java/mx/trackermap | |
parent | db0dd04682627b20df5acfc2bf01a1541cfa5696 (diff) | |
download | etbsa-trackermap-mobile-84f65df0a794dee2ee21e80f83ed9e589412acc1.tar.gz etbsa-trackermap-mobile-84f65df0a794dee2ee21e80f83ed9e589412acc1.tar.bz2 etbsa-trackermap-mobile-84f65df0a794dee2ee21e80f83ed9e589412acc1.zip |
Changed addAreal to addLinear to avoid connecting report polyline ends
Diffstat (limited to 'androidApp/src/main/java/mx/trackermap')
-rw-r--r-- | androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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, |