Revize fc8a530f
Přidáno uživatelem Václav Honzík před asi 2 roky(ů)
frontend/src/features/TrackingTool/Map/Map.tsx | ||
---|---|---|
7 | 7 |
import { buildTheme } from '../../Theme/ThemeWrapper' |
8 | 8 |
import RightClickPopupMenu from '../Import/ImportContextMenu' |
9 | 9 |
import MapPath from './MapPath' |
10 |
import { Map as LeafletMap } from 'leaflet' |
|
10 |
import L, { Map as LeafletMap } from 'leaflet' |
|
11 |
import { } from 'leaflet.fullscreen' |
|
11 | 12 |
|
12 | 13 |
const mapTheme = buildTheme('light') |
13 | 14 |
|
... | ... | |
18 | 19 |
const mapRef = useRef<LeafletMap | undefined>(undefined) |
19 | 20 |
useEffect(() => { |
20 | 21 |
if (!mapRef || !mapRef.current) { |
21 |
console.log('No map ref') |
|
22 | 22 |
return |
23 | 23 |
} |
24 | 24 |
|
Také k dispozici: Unified diff
Pagination
re #9741