mym0404 / react-native-naver-map

Naver Map for React Native - Bring Naver Map to Your React Fingertips
https://mym0404.github.io/react-native-naver-map/
MIT License
96 stars 9 forks source link

[BUG]: IOS 마커오버레이 컴포넌트가 지도를 가리는 현상 #95

Closed smp2103 closed 1 month ago

smp2103 commented 3 months ago

Is there an existing issue for this?

Version of @mj-studio/react-native-naver-map

1.5.9

Version of react-native

0.72.3

What os are you seeing the problem on?

iOS

What device types are you seeing the problem on?

Physcial Device

What architecture types of react native are you seeing the problem on?

Old Architecture(Bridge)

Version of device(android API, iOS OS version, etc...)

No response

Expo App

What happened?

react-native debugger를 이용해서 Inspect를 해보니, 투명한 NaverMapMarkerOverlay가 화면의 왼쪽에 전부몰려있고, 이게 지도의 제스쳐를 막아버리고있습니다. 커스텀마커를 사용하지 않았고, 전부 image http uri 방식으로 진행하였습니다. IMG_7161

Relevant a package.json.

No response

Relevant log output

No response

Reproducible Sample Repository

-

Code of Conduct

smp2103 commented 3 months ago

NaverMapMarkerOverlay 에 maxWidth:0 patch-package로 해결

mym0404 commented 3 months ago

확인햐보겠습니다.

smp2103 commented 3 months ago

@mym0404

image

실제로 NaverMapmarkerOverlay에 httpUri 방식으로 마커컴포넌트를 작성하고, 위와같이 backgroundColor 를 넣어보면, 화면 왼쪽에 영역을 차지하고있는걸 확인할 수 있었습니다. width 를 명시적으로 줘서는 해결이안되었고, maxWidth 0을 주니 해결되었습니다

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 2 days.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 2 days.