MapComponent: Print button

This commit is contained in:
2025-02-24 13:23:33 +09:00
parent 85bafea7c8
commit 8438e05301

View File

@ -548,9 +548,17 @@ const MapComponent = ({
clearPrintArea(id) clearPrintArea(id)
map?.setTarget(mapElement.current as HTMLDivElement) map?.setTarget(mapElement.current as HTMLDivElement)
}} title="Предпросмотр области"> }} title="Предпросмотр области">
<div id='print-portal' style={{ width: '640px', height: '320px' }}> <Stack>
<div id='print-portal' style={{ width: '640px', height: '320px' }}>
</div> </div>
<Flex gap='sm'>
<Button>
Печать
</Button>
</Flex>
</Stack>
</Modal> </Modal>
{active && {active &&