为什么antv地图不能正确显示图例和工具?

<AMapScene
                    map={{
                        center: [120, 35],
                        pitch: 0,
                        style: 'normal',
                        zoom: 5,
                        rotateEnable: true,
                        plugin: ['AMap.ToolBar']
                    }}
                    scene={{
                        logoVisible: false,
                        preserveDrawingBuffer: true
                    }}
                    style={{
                        position: 'absolute',
                        top: 0,
                        left: 0,
                        right: 0,
                        bottom: 0,
                        zIndex: 0
                    }}
                    onSceneLoaded={this.mapLoaded.bind(this)}
                >
</AMapScene>

按照文档里说明map中有:
plugin: ['AMap.ToolBar']

但是地图中并没有对应的工具
大神帮我看一看~

阅读 3.5k
1 个回答
推荐问题