jiggag / react-native-kakao-maps

MIT License
20 stars 10 forks source link

Can not hot reload map when markerList has changed #39

Closed de2dhvu1 closed 8 months ago

de2dhvu1 commented 1 year ago

I try to useEffect to update markerList data, but map does not reload. Another solution:

Do we have any solution for this

jiggag commented 11 months ago

@de2dhvu1 only android?

sunjaaa commented 11 months ago

@de2dhvu1 only android?

yes only android. i also tried , cuz im having the same problem

de2dhvu1 commented 11 months ago

@de2dhvu1 only android?

yes only android. i also tried , cuz im having the same problem

Kakao map only support native platform. If you want to use on React native, you can config local module from kakao map, access and edit code of kakaomap directly

jiggag commented 10 months ago

~Did this error occur?~

jsh7195 commented 9 months ago

중간에 center나 markerList를 state로 변경하게되면 xcode > createMarker 에서 오류가 발생하고 있습니다.

Thread 1: EXC_BAD_ACCESS (code=1, address=0xbcde2d1c0f80)

jiggag commented 9 months ago

중간에 center나 markerList를 state로 변경하게되면 xcode > createMarker 에서 오류가 발생하고 있습니다.

Thread 1: EXC_BAD_ACCESS (code=1, address=0xbcde2d1c0f80)

아래쪽 에러 메시지를 더 공유해주실 수 있으신가요?

jsh7195 commented 9 months ago

@jiggag 안녕하세요.

에러브레이크가 강제로 걸렸을때는 createMarker에서 Thread 1: EXC_BAD_ACCESS (code=1, address=0xbcde2d1c0f80) 이 오류만 나오고 있는 상황입니다.

에러브레이크가 걸리지않으면 [native] Error setting property 'centerPoint' of KakaoMapView with tag #1437: Exception thrown while executing UI block: -[OS_nw_array countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x60000074a220 2023-10-10 09:56:02.042077+0900 appname[14863:35435937] [Presentation] Attempt to present <UIViewController: 0x7fd8db124530> on <UIViewController: 0x7fd8e07208f0> (from <UIViewController: 0x7fd8e07208f0>) which is already presenting <RCTModalHostViewController: 0x7fd8d27a6170>.

이런 오류가 발생합니다.

센터값을 계속 바꾸다보면 에러브레이크가 걸립니다.

jiggag commented 8 months ago

@jsh7195

v0.0.12 에서 이슈 수정하였습니다