added custom overlay

This commit is contained in:
Sem van der Hoeven
2020-12-17 14:22:20 +01:00
parent 95a2e4e849
commit 610b23b056
4 changed files with 63 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import org.jetbrains.annotations.NotNull;
import org.osmdroid.util.GeoPoint;
public class Location {
@@ -85,4 +86,8 @@ public class Location {
return lat1 + "," + long1;
}
public GeoPoint convertToGeoPoint() {
return new GeoPoint(this.getLat(),this.getLong());
}
}