Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ios/RNMBX/RNMBXBackgroundLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class RNMBXBackgroundLayer: RNMBXLayer {
styler.backgroundLayer(
layer: &styleLayer,
reactStyle: reactStyle,
oldReactStyle: oldReatStyle,
oldReactStyle: oldReactStyle,
applyUpdater: { (updater) in logged("RNMBXBackgroundLayer.addStyles") {
try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) }
}},
Expand Down
2 changes: 1 addition & 1 deletion ios/RNMBX/RNMBXCircleLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public class RNMBXCircleLayer: RNMBXVectorLayer {
styler.circleLayer(
layer: &styleLayer,
reactStyle: reactStyle,
oldReactStyle: oldReatStyle,
oldReactStyle: oldReactStyle,
applyUpdater: { (updater) in logged("RNMBXCircleLayer.updateLayer") {
try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) }
}},
Expand Down
2 changes: 1 addition & 1 deletion ios/RNMBX/RNMBXFillExtrusionLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public class RNMBXFillExtrusionLayer: RNMBXVectorLayer {
styler.fillExtrusionLayer(
layer: &styleLayer,
reactStyle: reactStyle,
oldReactStyle: oldReatStyle,
oldReactStyle: oldReactStyle,
applyUpdater: { (updater) in logged("RNMBXFillExtrusionLayer.updateLayer") {
try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) }
}},
Expand Down
2 changes: 1 addition & 1 deletion ios/RNMBX/RNMBXFillLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public class RNMBXFillLayer: RNMBXVectorLayer {
styler.fillLayer(
layer: &styleLayer,
reactStyle: reactStyle,
oldReactStyle: oldReatStyle,
oldReactStyle: oldReactStyle,
applyUpdater: { (updater) in logged("RNMBXFillLayer.updateLayer") {
try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout FillLayer) in updater(&layer) }
}},
Expand Down
2 changes: 1 addition & 1 deletion ios/RNMBX/RNMBXHeatmapLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class RNMBXHeatmapLayer: RNMBXVectorLayer {
styler.heatmapLayer(
layer: &styleLayer,
reactStyle: reactStyle,
oldReactStyle: oldReatStyle,
oldReactStyle: oldReactStyle,
applyUpdater: { (updater) in logged("RNMBXHeatmapLayer.updateLayer") {
try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout HeatmapLayer) in updater(&layer) }
}},
Expand Down
2 changes: 1 addition & 1 deletion ios/RNMBX/RNMBXHillshadeLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public class RNMBXHillshadeLayer: RNMBXLayer {
styler.hillshadeLayer(
layer: &styleLayer,
reactStyle: reactStyle,
oldReactStyle: oldReatStyle,
oldReactStyle: oldReactStyle,
applyUpdater:{ (updater) in logged("RNMBXHillshadeLayer.updateLayer") {
try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) }
}},
Expand Down
4 changes: 2 additions & 2 deletions ios/RNMBX/RNMBXLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ public class RNMBXLayer : UIView, RNMBXMapComponent, RNMBXSourceConsumer {
didSet { self.optionsChanged() }
}

var oldReatStyle: Dictionary<String, Any>? = nil
var oldReactStyle: Dictionary<String, Any>? = nil
@objc public var reactStyle : Dictionary<String, Any>? = nil {
willSet {
oldReatStyle = reactStyle
oldReactStyle = reactStyle
}
didSet {
DispatchQueue.main.async {
Expand Down
2 changes: 1 addition & 1 deletion ios/RNMBX/RNMBXLineLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public class RNMBXLineLayer: RNMBXVectorLayer {
styler.lineLayer(
layer: &styleLayer,
reactStyle: reactStyle,
oldReactStyle: oldReatStyle,
oldReactStyle: oldReactStyle,
applyUpdater: { (updater) in logged("RNMBXLineLayer.updateLayer") {
try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) }
}},
Expand Down
2 changes: 1 addition & 1 deletion ios/RNMBX/RNMBXModelLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public class RNMBXModelLayer: RNMBXVectorLayer {
styler.modelLayer(
layer: &styleLayer,
reactStyle: reactStyle,
oldReactStyle: oldReatStyle,
oldReactStyle: oldReactStyle,
applyUpdater: { (updater) in logged("RNMBXModelLayer.updateLayer") {
try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) }
}},
Expand Down
2 changes: 1 addition & 1 deletion ios/RNMBX/RNMBXRasterLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public class RNMBXRasterLayer: RNMBXLayer {
styler.rasterLayer(
layer: &styleLayer,
reactStyle: reactStyle,
oldReactStyle: oldReatStyle,
oldReactStyle: oldReactStyle,
applyUpdater:{ (updater) in logged("RNMBXRasterLayer.updateLayer") {
try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) }
}},
Expand Down
2 changes: 1 addition & 1 deletion ios/RNMBX/RNMBXRasterParticleLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public class RNMBXRasterParticleLayer: RNMBXLayer {
styler.rasterParticleLayer(
layer: &styleLayer,
reactStyle: reactStyle,
oldReactStyle: oldReatStyle,
oldReactStyle: oldReactStyle,
applyUpdater:{ (updater) in logged("RNMBXRasterParticleLayer.updateLayer") {
try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) }
}},
Expand Down
2 changes: 1 addition & 1 deletion ios/RNMBX/RNMBXSkyLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class RNMBXSkyLayer: RNMBXLayer {
styler.skyLayer(
layer: &styleLayer,
reactStyle: reactStyle,
oldReactStyle: oldReatStyle,
oldReactStyle: oldReactStyle,
applyUpdater: { (updater) in logged("RNMBXSkyLayer.addStyles") {
try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) }
}},
Expand Down
2 changes: 1 addition & 1 deletion ios/RNMBX/RNMBXSymbolLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public class RNMBXSymbolLayer: RNMBXVectorLayer {
styler.symbolLayer(
layer: &styleLayer,
reactStyle: reactStyle,
oldReactStyle: oldReatStyle,
oldReactStyle: oldReactStyle,
applyUpdater: { (updater) in logged("RNMBXSymbolLayer.updateLayer") {
try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) }
}},
Expand Down
Loading