nitaliano / react-native-mapbox-gl

A Mapbox GL react native module for creating custom maps
Other
2.16k stars 697 forks source link

layerIndex on iOS is broken #1585

Open npasparuhov opened 5 years ago

npasparuhov commented 5 years ago

I had the problem with using layer index prop on CircleLayer:

<MapboxGL.Animated.CircleLayer
    layerIndex={150}
    id="pulseOuterCircle"
    style={outerCircleStyle}
/>

the Android version works ok, the iOS version gives me the error - Cannot insert style layer at out-of-bounds index:

Screenshot 2019-04-16 at 17 44 53
winseyli commented 5 years ago

same here I am having the same issue

akshay71297 commented 5 years ago

Any news about this issue?

ShepelE commented 5 years ago

I've linked manually and get the same bug. Has anyone tried to link with pods?

update: both ios install methods return the same error. this error appeared when I updated react-native-mapbox-gl/maps to 7 version, unlinked manually previously linked mapbox, and trying to add new react-native-mapbox-gl/maps version