From 44970059e94bd8f187943f45e0025731c40b03c2 Mon Sep 17 00:00:00 2001 From: jreyesr Date: Wed, 19 May 2021 09:21:23 -0500 Subject: [PATCH] Overlay image can now be refreshed with the dashboard --- README.md | 6 ++++++ src/partials/editor.html | 4 ++++ src/worldmap_ctrl.ts | 12 ++++++++++-- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9ca2ceb..897496c 100644 --- a/README.md +++ b/README.md @@ -287,6 +287,12 @@ Optionally, you can show an image over the base map (but below the data points). Show/hide the overlay. +**Auto reload overlay** + +By default, the overlay image is fetched once, on page load, and never updated. If the overlay image is updated regularly (say, the overlay is generated on another application and then served on a fixed URL), it may be desirable to fetch the image when the dashboard is refreshed. This switch enables it. + +If the overlay image is fixed (e. g., an orthomosaic of the area, taken with a drone), leave this option disabled, as it would cause an additional request on each dashboard reload. + **Overlay URL** The URL where the image is available. Please notice that only URLs can be used (no local files!) diff --git a/src/partials/editor.html b/src/partials/editor.html index c862ec7..975dde0 100644 --- a/src/partials/editor.html +++ b/src/partials/editor.html @@ -554,6 +554,10 @@
Custom image overlay
+ +