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
1 change: 0 additions & 1 deletion ios/RNMBX/RNMBXMarkerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class RNMBXMarkerViewParentViewAnnotation : UIView {
if actSize.width != size.width || actSize.height != size.height {
let dx = ((size.width/2.0) - newOffset.dx) - ((actSize.width/2.0) - oldOffset.dx)
let dy = ((size.height/2.0) + newOffset.dy) - ((actSize.height/2.0) + oldOffset.dy)
print(" => size=\(size) actSize=\(actSize) newOffset=\(newOffset) oldOffset=\(oldOffset) dx=\(dx) dy=\(dy)")
var frame = self.frame
frame = frame.offsetBy(dx: -dx, dy: -dy)
frame.size = size
Expand Down
6 changes: 1 addition & 5 deletions ios/RNMBX/RNMBXViewport.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ open class RNMBXViewport : UIView, RNMBXMapComponent, ViewportStatusObserver {

// MARK: React properties
@objc
public var onStatusChanged: RCTBubblingEventBlock? = nil {
didSet {
print(" => setReactOnMapChange")
}
}
public var onStatusChanged: RCTBubblingEventBlock? = nil

@objc
public var hasStatusChanged: Bool = false {
Expand Down
1 change: 0 additions & 1 deletion src/components/Viewport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ class NativeCommands<Spec extends object> {
args: NativeArg[],
): Promise<T> {
const handle = findNodeHandle(nativeRef);
console.log(' => handle', handle);
if (handle) {
return (
this.module[name] as (
Expand Down