Send pin-drop location (#1179)

* add location sharing action in room, and open location sharing screen

* add pin location sharing

* fix asset, add tests for location viewModel, add send location request

* fix map zoom level, fix assets for location

* add feature flag for location sharing

* hide attribution button
This commit is contained in:
Flescio
2023-06-28 11:39:38 +02:00
committed by GitHub
parent e25ca2e120
commit 102e6a64fa
29 changed files with 548 additions and 42 deletions
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
@@ -0,0 +1,22 @@
{
"images" : [
{
"filename" : "location-marker.pdf",
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "location-marker-dark.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
@@ -0,0 +1,78 @@
%PDF-1.7
1 0 obj
<< >>
endobj
2 0 obj
<< /Length 3 0 R >>
stream
/DeviceRGB CS
/DeviceRGB cs
q
1.000000 0.000000 -0.000000 1.000000 0.000000 -0.123291 cm
0.921569 0.933333 0.949020 scn
7.000000 20.123291 m
3.130000 20.123291 0.000000 16.908089 0.000000 12.932741 c
0.000000 8.649229 4.420000 2.742706 6.240000 0.493092 c
6.640000 0.000025 7.370000 0.000025 7.770000 0.493092 c
9.580000 2.742706 14.000000 8.649229 14.000000 12.932741 c
14.000000 16.908089 10.870000 20.123291 7.000000 20.123291 c
h
7.000000 10.364689 m
5.620000 10.364689 4.500000 11.515176 4.500000 12.932741 c
4.500000 14.350307 5.620000 15.500795 7.000000 15.500795 c
8.380000 15.500795 9.500000 14.350307 9.500000 12.932741 c
9.500000 11.515176 8.380000 10.364689 7.000000 10.364689 c
h
f
n
Q
endstream
endobj
3 0 obj
699
endobj
4 0 obj
<< /Annots []
/Type /Page
/MediaBox [ 0.000000 0.000000 14.000000 20.000000 ]
/Resources 1 0 R
/Contents 2 0 R
/Parent 5 0 R
>>
endobj
5 0 obj
<< /Kids [ 4 0 R ]
/Count 1
/Type /Pages
>>
endobj
6 0 obj
<< /Pages 5 0 R
/Type /Catalog
>>
endobj
xref
0 7
0000000000 65535 f
0000000010 00000 n
0000000034 00000 n
0000000789 00000 n
0000000811 00000 n
0000000984 00000 n
0000001058 00000 n
trailer
<< /ID [ (some) (id) ]
/Root 6 0 R
/Size 7
>>
startxref
1117
%%EOF
@@ -0,0 +1,147 @@
%PDF-1.7
1 0 obj
<< /Type /XObject
/Length 2 0 R
/Group << /Type /Group
/S /Transparency
>>
/Subtype /Form
/Resources << >>
/BBox [ 0.000000 0.000000 20.000000 20.000000 ]
>>
stream
/DeviceRGB CS
/DeviceRGB cs
q
1.000000 0.000000 -0.000000 1.000000 3.000000 -0.123291 cm
0.105882 0.113725 0.133333 scn
7.000000 20.123291 m
3.130000 20.123291 0.000000 16.908089 0.000000 12.932741 c
0.000000 8.649229 4.420000 2.742706 6.240000 0.493092 c
6.640000 0.000025 7.370000 0.000025 7.770000 0.493092 c
9.580000 2.742706 14.000000 8.649229 14.000000 12.932741 c
14.000000 16.908089 10.870000 20.123291 7.000000 20.123291 c
h
7.000000 10.364689 m
5.620000 10.364689 4.500000 11.515176 4.500000 12.932741 c
4.500000 14.350307 5.620000 15.500795 7.000000 15.500795 c
8.380000 15.500795 9.500000 14.350307 9.500000 12.932741 c
9.500000 11.515176 8.380000 10.364689 7.000000 10.364689 c
h
f
n
Q
endstream
endobj
2 0 obj
699
endobj
3 0 obj
<< /Type /XObject
/Length 4 0 R
/Group << /Type /Group
/S /Transparency
>>
/Subtype /Form
/Resources << >>
/BBox [ 0.000000 0.000000 20.000000 20.000000 ]
>>
stream
/DeviceRGB CS
/DeviceRGB cs
q
1.000000 0.000000 -0.000000 1.000000 0.000000 0.000000 cm
0.000000 0.000000 0.000000 scn
0.000000 20.000000 m
20.000000 20.000000 l
20.000000 0.000000 l
0.000000 0.000000 l
0.000000 20.000000 l
h
f
n
Q
endstream
endobj
4 0 obj
232
endobj
5 0 obj
<< /XObject << /X1 1 0 R >>
/ExtGState << /E1 << /SMask << /Type /Mask
/G 3 0 R
/S /Alpha
>>
/Type /ExtGState
>> >>
>>
endobj
6 0 obj
<< /Length 7 0 R >>
stream
/DeviceRGB CS
/DeviceRGB cs
q
/E1 gs
/X1 Do
Q
endstream
endobj
7 0 obj
46
endobj
8 0 obj
<< /Annots []
/Type /Page
/MediaBox [ 0.000000 0.000000 20.000000 20.000000 ]
/Resources 5 0 R
/Contents 6 0 R
/Parent 9 0 R
>>
endobj
9 0 obj
<< /Kids [ 8 0 R ]
/Count 1
/Type /Pages
>>
endobj
10 0 obj
<< /Pages 9 0 R
/Type /Catalog
>>
endobj
xref
0 11
0000000000 65535 f
0000000010 00000 n
0000000957 00000 n
0000000979 00000 n
0000001459 00000 n
0000001481 00000 n
0000001779 00000 n
0000001881 00000 n
0000001902 00000 n
0000002075 00000 n
0000002149 00000 n
trailer
<< /ID [ (some) (id) ]
/Root 10 0 R
/Size 11
>>
startxref
2209
%%EOF