aboutsummaryrefslogtreecommitdiff
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
commitf8332dcdc5f702115b8e3eaad98a8fd8e5a44550 (patch)
tree328ce25f9a95042299164d14f1c6a4295aa9533d
parent0c93d08effd1bcc1c41aa839ed31e2cb8b5a6961 (diff)
downloadetbsa-trackermap-mobile-f8332dcdc5f702115b8e3eaad98a8fd8e5a44550.tar.gz
etbsa-trackermap-mobile-f8332dcdc5f702115b8e3eaad98a8fd8e5a44550.tar.bz2
etbsa-trackermap-mobile-f8332dcdc5f702115b8e3eaad98a8fd8e5a44550.zip
Changed addAreal to addLinear to avoid connecting report polyline ends
-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,