aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/map/Map.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-06-20 19:21:47 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-06-20 19:21:47 -0700
commit98fc2d0749055a132f7e00cbae4333ee83f3eb9b (patch)
treed4ac75f31a043aef018a4051a236e611c0e24d78 /web/app/view/map/Map.js
parentb35be5a9e84ce453ad18dccc839aa5bb879dc266 (diff)
downloadtrackermap-web-98fc2d0749055a132f7e00cbae4333ee83f3eb9b.tar.gz
trackermap-web-98fc2d0749055a132f7e00cbae4333ee83f3eb9b.tar.bz2
trackermap-web-98fc2d0749055a132f7e00cbae4333ee83f3eb9b.zip
Add current location support
Diffstat (limited to 'web/app/view/map/Map.js')
-rw-r--r--web/app/view/map/Map.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/app/view/map/Map.js b/web/app/view/map/Map.js
index e906e6c4..fbaa7587 100644
--- a/web/app/view/map/Map.js
+++ b/web/app/view/map/Map.js
@@ -66,6 +66,10 @@ Ext.define('Traccar.view.map.Map', {
stateId: 'show-geofences-button',
tooltip: Strings.sharedGeofences
}, {
+ handler: 'showCurrentLocation',
+ glyph: 'xf124@FontAwesome',
+ tooltip: Strings.mapCurrentLocation
+ }, {
handler: 'showLiveRoutes',
reference: 'showLiveRoutes',
glyph: 'xf1b0@FontAwesome',