Marker 组件active属性不起作用
Created by: jiasaichao
ios版本参照实例代码,加入了active属性,应该默认显示自定义信息窗口,结果是点击一下才显示
<Marker active color='green' coordinate={this._coordinates[1]}> <TouchableOpacity activeOpacity={0.9} onPress={this._onCustomInfoWindowPress}> <View style={styles.customInfoWindow}> <Text>自定义信息窗口</Text> <Text>{this.state.time.toLocaleTimeString()}</Text> </View> </TouchableOpacity> </Marker>