-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack Navigation에서 Navigate후 네이버 맵 초기화 및 marker 사라지는 문제 #117
Comments
@leetaeheon123 네비게이션에서 go.back() 했을때, 다시 지도를 다시 |
@leetaeheon123 정정할게요. |
@leetaeheon123 NaverMapView에 추가하시면 됩니다 |
오래된 이슈인데 최근에 이 방법으로 전 해결되서 코멘드 남깁니다. |
답장주셔서 감사합니다:)
-----Original Message-----
From: "DONGJOON ***@***.***>
To: ***@***.***>;
Cc: ***@***.***>; ***@***.***>;
Sent: 2022-11-10 (목) 23:27:03 (GMT+09:00)
Subject: Re: [QuadFlask/react-native-naver-map] Stack Navigation에서 Navigate후 네이버 맵 초기화 및 marker 사라지는 문제 (#117)
오래된 이슈인데 최근에 이 방법으로 전 해결되서 코멘드 남깁니다.
안드로이드에서 Marker의 caption을 넣지 않을 경우 navigation을 해도 에러가 발생하지 않더라고요.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version of react-native-naver-map libraries
v0.0.66
Version of react-native
v0.64.1
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
Stack navigation navigate후 다시 돌아오면 Marker가 사라지지 않아야 합니다.
Actual behavior
Stack navigation navigate후 다시 돌아오면 Marker가 사라집니다.
Component A : 네이버 맵 component
Component B : 빈 component
Component A->B->A로 navigate했을때 A가 unmount 되지 않았는데, A로 돌아올 때 네이버 맵은 reload되어 기존의 marker들이 사라지는것 같습니다.
원래동작이 이래서 Enhancement로 이슈를 올려야 하는지, 오류인지 잘 모르겠지만 해결책이 있을지 해서 이슈 올립니다.
Tested environment (Emulator? Real Device?)
SM-N960N (노트9)
Emulator
Screen Shot
Component A
Component B
Component A (back버튼 누르고)
The text was updated successfully, but these errors were encountered: