react-native-amap3d icon indicating copy to clipboard operation
react-native-amap3d copied to clipboard

设置模式无效

Open xiaoliuxiansheng opened this issue 5 years ago • 1 comments

  "react": "16.13.1",
    "react-native": "0.63.3",
    "react-native-amap3d": "2.0.1"

mapType 设置任何值都无效

<MapView
                    style={styles.absoluteFill}
                    locationEnabled
                    // 定位间隔(ms)
                    locationInterval={3000}
                    //  定位的最小更新距离
                    distanceFilter={10}
                    //
                    showsTraffic = {true}
                    zoomLevel = {14}
                    mapType='bus'
                    center={this.state.coordinate}
                    onLocation={this._logLocationEvent}
                />

xiaoliuxiansheng avatar Oct 14 '20 06:10 xiaoliuxiansheng

要带上 MapType. mapType={mapType ? MapType.Satellite : MapType.Standard}

XuanChuYun avatar Apr 16 '22 03:04 XuanChuYun