为什么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 个回答
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题