volga-volga / react-native-yamap

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

Маркер, показывающий синюю точку по умолчанию при первом рендеринге #183

Closed anis-18 closed 1 year ago

anis-18 commented 1 year ago
<YaMap>
        <Marker
          point={{ lat: 50, lon: 50 }}
          scale={3}
          source={require('./src/assets/transport.png')}
        />
</YaMap>

Маркер, показывающий синюю точку по умолчанию при первом рендеринге, если я изменяю scale, отображается моя иконка, но если я перезагружаю приложение, это снова синяя точка отображантся вместе моей картинки photo_5260227296055377726_y

anis-18 commented 1 year ago
<Marker
    point={{ lat: 50, lon: 50 }}
    scale={3}>
    <Image
         source={require('./src/assets/transport.png')}
     />
</Marker>

this solved the problem

kentets4 commented 1 year ago
<Marker
    point={{ lat: 50, lon: 50 }}
    scale={3}>
    <Image
         source={require('./src/assets/transport.png')}
     />
</Marker>

this solved the problem

Not working