Revize 4f42fa52
Přidáno uživatelem Václav Honzík před více než 2 roky(ů)
frontend/src/features/TrackingTool/TrackingTool.tsx | ||
---|---|---|
6 | 6 |
import TextPath from 'react-leaflet-textpath' |
7 | 7 |
import PlaintextUpload from './PlaintextUpload' |
8 | 8 |
import FileUpload from './FileUpload' |
9 |
import L from 'leaflet' |
|
10 |
import DeleteIcon from '@mui/icons-material/Delete' |
|
9 | 11 |
|
10 | 12 |
// Page with tracking tool |
11 | 13 |
const TrackingTool = () => { |
... | ... | |
64 | 66 |
repeat |
65 | 67 |
center |
66 | 68 |
weight={10} |
67 |
> |
|
68 |
<Popup>Caesar 🥗 War Path (Allegedly)</Popup> |
|
69 |
</TextPath> |
|
69 |
></TextPath> |
|
70 | 70 |
) |
71 | 71 |
} |
72 | 72 |
|
... | ... | |
123 | 123 |
url={mapConfig.url} |
124 | 124 |
/> |
125 | 125 |
{coords.map(({ latitude, longitude }, idx) => ( |
126 |
<Marker position={[latitude, longitude]} /> |
|
126 |
<Marker |
|
127 |
position={[latitude, longitude]} |
|
128 |
/> |
|
127 | 129 |
))} |
128 | 130 |
{polylines} |
129 | 131 |
</MapContainer> |
130 | 132 |
</Grid> |
131 |
|
|
132 | 133 |
</Grid> |
133 | 134 |
</Fragment> |
134 | 135 |
) |
Také k dispozici: Unified diff
Login dialog + slice for notifications
re #9628