Replaced mapbox to osmdroid (Upload Activity) (#5443)

* Fixed Grey empty screen at Upload wizard caption step after denying files permission

* Empty commit

* Fixed loop issue

* Created docs for earlier commits

* Fixed javadoc

* Fixed spaces

* Added added basic features to OSM Maps

* Added search location feature

* Added filter to Open Street Maps

* Fixed chipGroup in Open Street Maps

* Removed mapBox code

* Removed mapBox's code

* Reformat code

* Reformatted code

* Removed rotation feature to map

* Removed rotation files and Fixed Marker click problem

* Ignored failing tests

* Added voice input feature

* Fixed test cases

* Changed caption and description text

* Replaced mapbox to osmdroid in upload activity

* Fixed Unit Tests

* Made selected marker to be fixed on map

* Changed color of map marker
This commit is contained in:
Kanahia 2024-01-18 10:58:53 +05:30 committed by GitHub
parent 11e7b1cde7
commit 6319da5445
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 206 additions and 382 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View file

@ -0,0 +1,18 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="32dp"
android:height="44dp"
android:viewportWidth="32"
android:viewportHeight="44">
<path
android:pathData="M17.431,42.146C16.502,43.187 14.927,43.187 13.998,42.146C9.202,36.77 -3.689,20.865 1.017,9.968C6.757,-3.323 24.672,-3.323 30.412,9.968C35.118,20.865 22.227,36.77 17.431,42.146Z"
android:fillColor="#023E5A"/>
<path
android:pathData="M15.714,41.066C15.714,41.066 -1.998,22.695 2.976,10.924C7.95,-0.848 23.477,-0.848 28.452,10.924C33.426,22.695 15.714,41.066 15.714,41.066Z"
android:fillColor="#2CB7A9"/>
<path
android:pathData="M15.505,15.505m-6.286,0a6.286,6.286 0,1 1,12.571 0a6.286,6.286 0,1 1,-12.571 0"
android:fillColor="#003B59"/>
<path
android:pathData="M15.505,15.505m-4.19,0a4.19,4.19 0,1 1,8.381 0a4.19,4.19 0,1 1,-8.381 0"
android:fillColor="#F84D4D"/>
</vector>

View file

@ -22,17 +22,15 @@
android:id="@+id/location_picker_image_view_shadow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/location_picker_image_view_shadow"
android:elevation="1dp"
app:layout_constraintBottom_toBottomOf="@+id/map_view"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/location_picker_image_view_marker"
app:layout_constraintVertical_bias="0.0"
app:srcCompat="@drawable/map_default_map_marker_shadow"
android:contentDescription="@string/location_picker_image_view_shadow" />
app:srcCompat="@drawable/map_default_map_marker_shadow" />
<com.mapbox.mapboxsdk.maps.MapView
<org.osmdroid.views.MapView
android:id="@+id/map_view"
android:layout_width="0dp"
android:layout_height="0dp"
@ -40,9 +38,9 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
app:layout_constraintTop_toTopOf="parent"/>
</com.mapbox.mapboxsdk.maps.MapView>
<include layout="@layout/bottom_container_location_picker"/>