Navigation react native中的室内楼层图
我想在我的应用程序中实现楼层地图导航。请建议任何可用的库或实现方法 尝试了以下操作,但不允许添加自定义地图/楼层等Navigation react native中的室内楼层图,navigation,react-native,maps,google-indoor-maps,Navigation,React Native,Maps,Google Indoor Maps,我想在我的应用程序中实现楼层地图导航。请建议任何可用的库或实现方法 尝试了以下操作,但不允许添加自定义地图/楼层等 <MapView style={styles.mapViewStyle} initialRegion={{ latitude: 37.78825, longitude: -122.4324, latitudeDelta: 0.0922, longitudeDelta
<MapView
style={styles.mapViewStyle}
initialRegion={{
latitude: 37.78825,
longitude: -122.4324,
latitudeDelta: 0.0922,
longitudeDelta: 0.0421,
}}>
<MapView.Marker draggable
// calloutOffset={MapView.Marker.Point{x:0, y:30}}
pinColor='steelblue'
coordinate={{latitude: 37.78825,longitude: -122.4324,}}
title='San Francisco'
description='City by the Bay'
onDragEnd={(e) => this.setState({ x: e.nativeEvent.coordinate })}
/>
</MapView>
this.setState({x:e.nativeEvent.coordinate})
/>
您可以从Airbnb自定义类似的内容,对于实现部分,我们在此网站中不提供按需代码,首先您必须向我们展示您的尝试:)
希望有帮助 我尝试过这个库,它提供了对地图的支持,但添加自定义地图或地板不可用。