diff --git a/web/index.html b/web/index.html
index 80133402b..744d84f34 100644
--- a/web/index.html
+++ b/web/index.html
@@ -6,6 +6,10 @@
+
+
+
+
+
+
Map tiles unavailable offline
+
You can still set coordinates by clicking
+
+ `;
+ container.appendChild(overlay);
+
+ return () => {
+ container.removeChild(overlay);
+ };
+ }, [map]);
+
+ return null;
+};
+
const LeafletMap = (props: MapProps) => {
const position = props.latlng || DEFAULT_CENTER_LAT_LNG;
+ const isOffline = useOfflineDetection();
+
return (