diff --git a/pwnagotchi/plugins/default/webgpsmap.html b/pwnagotchi/plugins/default/webgpsmap.html
index 1248c1a86..5fddca44d 100644
--- a/pwnagotchi/plugins/default/webgpsmap.html
+++ b/pwnagotchi/plugins/default/webgpsmap.html
@@ -1,287 +1,377 @@
-
-
-
- GPS MAP
-
-
-
-
-
-
-
-
-
-
- (⌐■ ■)
loading positions...
-
-
+
+
+
+
+
+
+ GPS MAP
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ (⌐■ ■)
+
+
LOADING POSITIONS...
+
+
+
+
+
diff --git a/pwnagotchi/plugins/default/webgpsmap.py b/pwnagotchi/plugins/default/webgpsmap.py
index 413f19a78..55121996a 100644
--- a/pwnagotchi/plugins/default/webgpsmap.py
+++ b/pwnagotchi/plugins/default/webgpsmap.py
@@ -98,7 +98,7 @@ def on_webhook(self, path, request):
self.ALREADY_SENT = list()
json_data = json.dumps(self.load_gps_from_dir(self.config['bettercap']['handshakes']))
html_data = self.get_html()
- html_data = html_data.replace('var positions = [];', 'var positions = ' + json_data + ';positionsLoaded=true;drawPositions();')
+ html_data = html_data.replace('var offlinePositions = null;', 'var offlinePositions = ' + json_data)
response_data = bytes(html_data, "utf-8")
response_status = 200
response_mimetype = "application/xhtml+xml"