File tree 3 files changed +16
-2
lines changed
3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 90
90
<PackageReference Include =" Dependencies.Gradle" Version =" 8.6.0.1" />
91
91
</ItemGroup >
92
92
<ItemGroup Condition =" $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'" >
93
- <PackageReference Include =" MapboxMapsObjC.iOS" Version =" 11.5.1" />
93
+ <PackageReference Include =" MapboxMapsObjC.iOS" Version =" 11.5.1.1 " />
94
94
<PackageReference Include =" MapboxMaps.iOS" Version =" 11.5.1" />
95
95
</ItemGroup >
96
96
<ProjectExtensions >
Original file line number Diff line number Diff line change @@ -15,6 +15,17 @@ namespace MapboxMaui;
15
15
16
16
public static partial class AdditionalExtensions
17
17
{
18
+ internal static CameraOptions ToX ( this TMBCameraState state )
19
+ {
20
+ return new CameraOptions
21
+ {
22
+ Bearing = ( float ? ) state . Bearing ,
23
+ Center = state . Center . ToMapPosition ( ) ,
24
+ Padding = state . Padding . ToThickness ( ) ,
25
+ Pitch = ( float ? ) state . Pitch . Value ,
26
+ Zoom = ( float ? ) state . Zoom . Value ,
27
+ } ;
28
+ }
18
29
internal static TMBPanMode ToNative ( this PanMode panMode )
19
30
{
20
31
return panMode switch
Original file line number Diff line number Diff line change 105
105
</Compile >
106
106
</ItemGroup >
107
107
<ItemGroup Condition =" $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'" >
108
- <PackageReference Include =" MapboxMapsObjC.iOS" Version =" 11.5.1" />
108
+ <PackageReference Include =" MapboxMapsObjC.iOS" Version =" 11.5.1.1 " />
109
109
<PackageReference Include =" MapboxMaps.iOS" Version =" 11.5.1" />
110
110
111
111
<Compile Include =" ..\..\libs\Mapbox.Maui\Platforms\iOS\**\**\*.cs" >
128
128
<Target Name =" DisplayMessages" BeforeTargets =" PrepareForILLink" >
129
129
<Message Text =" Project File Name = $(Configuration)|$(TargetFramework)|$(Platform)" />
130
130
</Target >
131
+ <!-- <PropertyGroup Condition="$(TargetFramework.Contains('-ios'))">
132
+ <RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
133
+ </PropertyGroup> -->
131
134
<ProjectExtensions >
132
135
<MonoDevelop >
133
136
<Properties >
You can’t perform that action at this time.
0 commit comments