aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java/mx
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-20 01:46:38 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-20 01:46:38 -0600
commit84f65df0a794dee2ee21e80f83ed9e589412acc1 (patch)
tree328ce25f9a95042299164d14f1c6a4295aa9533d /androidApp/src/main/java/mx
parentdb0dd04682627b20df5acfc2bf01a1541cfa5696 (diff)
downloadetbsa-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')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt2
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,