From db319d528537f8538800a580635867a85cd1230c Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Mon, 24 Mar 2014 16:41:54 +0100 Subject: [PATCH] browsermap: make follow aircraft optional - don't follow aircraft after map pan - add a control to toggle follow aircraft --- webgui/map/images/followAircraft.svg | 8 +++++++ webgui/map/index.html | 33 +++++++++++++++++++++++++++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 webgui/map/images/followAircraft.svg diff --git a/webgui/map/images/followAircraft.svg b/webgui/map/images/followAircraft.svg new file mode 100644 index 000000000..c3540fe92 --- /dev/null +++ b/webgui/map/images/followAircraft.svg @@ -0,0 +1,8 @@ + + + + diff --git a/webgui/map/index.html b/webgui/map/index.html index edc1d2bb4..610f047e6 100644 --- a/webgui/map/index.html +++ b/webgui/map/index.html @@ -37,6 +37,15 @@ html,body,#map { margin: 0 0 5px; color: #777; } + +.followAircraft { + background: white; + background: rgba(255, 255, 255, 0.8); + box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); + border-radius: 5px; + width: 40px; + height: 40px; +}