【问题标题】:Indoor floor maps in react nativeReact Native 中的室内楼层地图
【发布时间】:2016-09-29 18:27:16
【问题描述】:

我想在我的应用程序中实现平面地图导航。请建议任何可用的库或实现它的方法。

尝试了以下,但不允许添加自定义地图/楼层等。

<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>

【问题讨论】:

    标签: navigation react-native maps google-indoor-maps


    【解决方案1】:

    您可以从Airbnb自定义react-native-maps之类的东西,对于实现部分,我们在本网站不提供按需代码,首先您必须向我们展示您尝试过的内容:)

    希望对你有帮助!

    【讨论】:

    • 我试过这个库,它提供了对地图的支持,但是无法添加自定义地图或楼层。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-11-15
    • 1970-01-01
    • 1970-01-01
    • 2019-07-20
    相关资源
    最近更新 更多