volga-volga / react-native-yamap

React Native Yandex Maps | Яндекс Карты | Yandex.MapKit implementation for react native | YandexMaps
144 stars 80 forks source link

Placemark #273

Open alen-s opened 4 months ago

alen-s commented 4 months ago

I want to show user placemark position and rotating based on user movement but I have no luck, can someone help me with that?

I have this code in the component

<YaMap
      ref={map}
      style={styles.container}
      userLocationIcon={USER}
      showUserPosition={false}
      followUser={true}
      tiltGesturesEnabled={true}
      onMapPress={onMapPress}
      nightMode={night}
      initialRegion={initialRegion}
      onCameraPositionChangeEnd={onCameraPositionChangeEnd}
      onCameraPositionChange={onCameraPositionChange}
>
</YaMap>

CC: @ownikss , @segrey-profi