aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/ServerPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-12 06:30:41 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-12 06:30:41 -0700
commit127a8bfc5df8cbe66d5f60023fcf983e15ee13e8 (patch)
tree4df390424bd2671851fcb69121d4db36be757be9 /modern/src/settings/ServerPage.js
parente7995f3b7a6b0828b81bebaf556ef7afb59bef61 (diff)
downloadtrackermap-web-127a8bfc5df8cbe66d5f60023fcf983e15ee13e8.tar.gz
trackermap-web-127a8bfc5df8cbe66d5f60023fcf983e15ee13e8.tar.bz2
trackermap-web-127a8bfc5df8cbe66d5f60023fcf983e15ee13e8.zip
Support map overlays
Diffstat (limited to 'modern/src/settings/ServerPage.js')
-rw-r--r--modern/src/settings/ServerPage.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/modern/src/settings/ServerPage.js b/modern/src/settings/ServerPage.js
index 25b71e37..26ef5bbf 100644
--- a/modern/src/settings/ServerPage.js
+++ b/modern/src/settings/ServerPage.js
@@ -96,6 +96,11 @@ const ServerPage = () => {
label={t('mapCustomLabel')}
/>
<TextField
+ value={item.overlayUrl || ''}
+ onChange={(event) => setItem({ ...item, overlayUrl: event.target.value })}
+ label={t('mapOverlayCustom')}
+ />
+ <TextField
type="number"
value={item.latitude || 0}
onChange={(event) => setItem({ ...item, latitude: Number(event.target.value) })}