| | |
| | | <Flex className={styles.flex} gap={'large'} justify={'flex-end'} align={'center'}> |
| | | <Button onClick={editHandle} size={'large'}><FormattedMessage id='map.edit' defaultMessage='编辑地图' /></Button> |
| | | </Flex> |
| | | |
| | | <Edit |
| | | open={editModalVisible} |
| | | onCancel={ |
| | | () => { |
| | | setEditModalVisible(false); |
| | | } |
| | | } |
| | | refCurr={mapRef.current} |
| | | /> |
| | | </Header> |
| | | <Content ref={contentRef} className={styles.content}> |
| | | <div ref={mapRef} style={{ position: "relative" }}> |
| | | |
| | | </div> |
| | | |
| | | |
| | | <div ref={mapRef} style={{ position: "relative" }} /> |
| | | </Content> |
| | | |
| | | |
| | | </Layout> |
| | | |
| | | |
| | | <Edit |
| | | open={editModalVisible} |
| | | onCancel={ |
| | | () => { |
| | | setEditModalVisible(false); |
| | | } |
| | | } |
| | | refCurr={mapRef.current} |
| | | /> |
| | | </> |
| | | ) |
| | | } |