volga-volga / react-native-yamap

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

Map not rendreing with correct zoom set in initialRegion and taking too long to show user location #201

Open anis-18 opened 1 year ago

anis-18 commented 1 year ago

Map not rendreing with correct zoom set in initialRegion and taking too long to show user location

<YaMap
            ref={map}
            showUserPosition
            followUser
            userLocationAccuracyFillColor="rgba(202, 215, 249, 0.5)"
            mapStyle={NATIVE_STYLE}
            userLocationIcon={require('../../assets/user3.png')}
            initialRegion={{
              lat: 55.6220068,
              lon: 49.135765,
              zoom: 20,
              azimuth: 80,
              tilt: 10,
            }}
</YaMap

please see video for further explanation : https://user-images.githubusercontent.com/36996198/194059390-0cf38588-62aa-4102-bb42-deb8abf912aa.mp4