应用程序在调试模式下工作正常,在发布模式下崩溃当我们进入地图页面并应用放大或缩小应用程序崩溃时
<MapboxGL.ShapeSource
onPress={res => this.storeSelectedValues(res)}
id={'line' + i.toString()}
shape={this.state.routes.features[i]}>
<MapboxGL.SymbolLayer
id={'symbol' + i.toString()}
style={{
iconImage: require('../../asset/images/marker.png'),
iconSize: 0.05,
}}
/>
</MapboxGL.ShapeSource>