lazyflog
lazyflog
커스텀으로 버튼 만드신 후 아래의 코드를 활용하셔서 함수 만드셔서 사용하시면 될것같네요 :) ``` const handleButtonPress = () => { naverMapViewRef.current?.setLocationTrackingMode(TrackingMode.NoFollow); // 하고싶으신 다음엑션 }; ```
I switched to the [react-native-geolocation-service](https://github.com/Agontuk/react-native-geolocation-service) to get the desired behavior, but it seems to have been unmaintained for a while, so it's not a long-term solution.
To get to the bottom of it, we need a little more explanation and example code.
해당 현상은 안드로이드에서 마커와 관련하여 비트맵 리소스를 관리하는 부분을 수정해야 해결될 것으로 보입니다. @mym0404 시간나실 때 한번 확인해주시면 감사하겠습니다 :) 👍
네이버맵 sdk에서는 기본값이 Yes로 되어있는데 이 라이브러리에선 기본값을 No라고 생각하고 있었어서 발생한 이슈로 보입니다. 해당부분 네이티브 코드를 확인해보시면 될 것 같습니다. @soo9028
Guys, most of the solutions above didn't help me, so I found another solution. Here's what it is: ``` // index.js import {enableFreeze} from 'react-native-screens'; enableFreeze(false); ```