This commit is contained in:
khadiatullo 2025-05-03 15:03:44 +03:00
commit 01110cb4ec

View File

@ -1,6 +1,10 @@
import { Map, Placemark, YMaps } from '@pbe/react-yandex-maps';
import {
GeolocationControl,
Map,
Placemark,
YMaps,
} from '@pbe/react-yandex-maps';
import { isEmpty } from 'lodash';
import { Dispatch, SetStateAction } from 'react';
import { Point } from '../model';
@ -58,6 +62,14 @@ export const YandexMap = ({
/>
);
})}
<GeolocationControl
options={{
position: {
bottom: 20,
right: 20,
},
}}
/>
</Map>
</YMaps>
);