Skip to content

Commit 9ee1e4c

Browse files
[iOS] Expose private api for MBX Image creation. (#11969)
In the scope of road cameras implementation we need to use this API for icons customization. - mapbox/navigation#13612 - mapbox/mapbox-sdk#7678 cc @mapbox/maps-ios cc @mapbox/gl-native --------- Co-authored-by: Changelog autocreator bot <github-actions[bot]@users.noreply.github.com> GitOrigin-RevId: 08e5672d335ab3b795796ccb9aa5dd08bdfa74ab
1 parent f31f96e commit 9ee1e4c

7 files changed

Lines changed: 6 additions & 121 deletions

File tree

Sources/MapboxMaps/ContentBuilders/MapStyleContent/MapStyleMountedComponents.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import os.log
2-
@_spi(Marshalling) import MapboxCoreMaps
2+
@_spi(Marshalling) @_spi(Internal) import MapboxCoreMaps
33

44
struct MountedLayer<L>: MapContentMountedComponent where L: Layer, L: Equatable {
55
var layer: L

Sources/MapboxMaps/Foundation/Extensions/Image.swift

Lines changed: 0 additions & 117 deletions
This file was deleted.

Sources/MapboxMaps/Style/ColorTheme.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import UIKit
2-
@_spi(Marshalling) import MapboxCoreMaps
2+
@_spi(Marshalling) @_spi(Internal) import MapboxCoreMaps
33

44
/// Map color theme.
55
///

Sources/MapboxMaps/Style/CustomSources/CustomRasterSourceTileData+Extensions.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@_spi(Internal) import MapboxCoreMaps
12
import UIKit
23

34
extension CustomRasterSourceTileData {

Sources/MapboxMaps/Style/StyleManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// swiftlint:disable file_length
22
@_implementationOnly import MapboxCommon_Private
33
import UIKit
4-
@_spi(Marshalling) import MapboxCoreMaps
4+
@_spi(Marshalling) @_spi(Internal) import MapboxCoreMaps
55

66
protocol StyleProtocol: AnyObject {
77
var isStyleLoaded: Bool { get }

Tests/MapboxMapsTests/Foundation/MapboxMapsFoundationTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import XCTest
22
import CoreLocation
33
import UIKit
4+
@_spi(Internal) import MapboxCoreMaps
45
@testable import MapboxMaps
56

67
class MapboxMapsFoundationTests: XCTestCase {

Tests/MapboxMapsTests/Style/ImageTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import XCTest
2-
import MapboxCoreMaps
2+
@_spi(Internal) import MapboxCoreMaps
33
@testable import MapboxMaps
44

55
final class ImageTests: XCTestCase {

0 commit comments

Comments
 (0)