Maps drop-in: restore map rendering (clip above the canvas)

This commit is contained in:
swift-river542 2026-09-17 02:11:53 -05:00
parent 05a07015b7
commit 61ce5de959
9 changed files with 14 additions and 18 deletions

View file

@ -1346,9 +1346,7 @@
.rm-root, .rm-map-area, .rm-map-canvas,
.rm-map-canvas .mapboxgl-canvas-container, .rm-map-canvas .mapboxgl-canvas,
.rm-map-canvas .maplibregl-canvas-container, .rm-map-canvas .maplibregl-canvas { border-radius: var(--map-radius-corners, var(--map-radius, 0px)); }
.rm-map-area, .rm-map-canvas,
.rm-map-canvas .mapboxgl-canvas-container, .rm-map-canvas .maplibregl-canvas-container,
.rm-map-canvas canvas { clip-path: inset(0 round var(--map-radius-corners, var(--map-radius, 0px))); }
.rm-map-area { clip-path: inset(0 round var(--map-radius-corners, var(--map-radius, 0px))); }
.rm-map-canvas { position:absolute;inset:0; }
.rm-loading { position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#0f1216;color:#7c8cf8;font:13px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;z-index:5; }
.rm-error { position:absolute;top:50%;left:12px;right:12px;z-index:7;transform:translateY(-50%);text-align:center;font:13px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#fecaca;background:rgba(15,18,22,.95);border:1px solid rgba(254,202,202,.28);border-radius:10px;padding:12px 14px;box-shadow:0 2px 10px rgba(0,0,0,.4); }

View file

@ -29,7 +29,7 @@
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
<!-- Bundle IIFE — registers the <doxa-research-map> custom element. -->
<script src="../doxa-research-map.js" integrity="sha384-dMUEdQvFvBb+sHwd2W9nMNUDINTYqnXj1C/dmMz/MYE40J4jvb9YGuEZgqexJozd" crossorigin="anonymous"></script>
<script src="../doxa-research-map.js" integrity="sha384-47YL9pp+xscOoe3DTvaguzmwEiI1Gpj08xae7w68vUqwBeUXpgrmzGG8+4u+YyJK" crossorigin="anonymous"></script>
<script>
// Mapbox token resolution — the A3 ladder, in precedence order:

File diff suppressed because one or more lines are too long

View file

@ -29,7 +29,7 @@
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
<!-- Bundle IIFE — registers the <doxa-map> custom element. -->
<script src="../../doxa-simple-map.js" integrity="sha384-+8dz59bHJ1Bmu3eDCPVr22QrFPyRqBY+TdryhrL2JPvYSD0NNIskDN0WwP7NFmEn" crossorigin="anonymous"></script>
<script src="../../doxa-simple-map.js" integrity="sha384-t7ODT95QaJCV1OA8ySI4oAVXgup/w45trORO7iHnIb3TNQbI2wfzQlITdnVLyyWX" crossorigin="anonymous"></script>
<script>
// Mapbox token resolution — the A3 ladder, in precedence order:

View file

@ -29,7 +29,7 @@
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
<!-- Bundle IIFE — registers the <doxa-map> custom element. -->
<script src="../../doxa-simple-map.js" integrity="sha384-+8dz59bHJ1Bmu3eDCPVr22QrFPyRqBY+TdryhrL2JPvYSD0NNIskDN0WwP7NFmEn" crossorigin="anonymous"></script>
<script src="../../doxa-simple-map.js" integrity="sha384-t7ODT95QaJCV1OA8ySI4oAVXgup/w45trORO7iHnIb3TNQbI2wfzQlITdnVLyyWX" crossorigin="anonymous"></script>
<script>
// Mapbox token resolution — the A3 ladder, in precedence order:

View file

@ -29,7 +29,7 @@
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
<!-- Bundle IIFE — registers the <doxa-map> custom element. -->
<script src="../doxa-simple-map.js" integrity="sha384-+8dz59bHJ1Bmu3eDCPVr22QrFPyRqBY+TdryhrL2JPvYSD0NNIskDN0WwP7NFmEn" crossorigin="anonymous"></script>
<script src="../doxa-simple-map.js" integrity="sha384-t7ODT95QaJCV1OA8ySI4oAVXgup/w45trORO7iHnIb3TNQbI2wfzQlITdnVLyyWX" crossorigin="anonymous"></script>
<script>
// Mapbox token resolution — the A3 ladder, in precedence order:

View file

@ -29,7 +29,7 @@
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
<!-- Bundle IIFE — registers the <doxa-map> custom element. -->
<script src="../../doxa-simple-map.js" integrity="sha384-+8dz59bHJ1Bmu3eDCPVr22QrFPyRqBY+TdryhrL2JPvYSD0NNIskDN0WwP7NFmEn" crossorigin="anonymous"></script>
<script src="../../doxa-simple-map.js" integrity="sha384-t7ODT95QaJCV1OA8ySI4oAVXgup/w45trORO7iHnIb3TNQbI2wfzQlITdnVLyyWX" crossorigin="anonymous"></script>
<script>
// Mapbox token resolution — the A3 ladder, in precedence order:

View file

@ -156,7 +156,7 @@
"bundle": "doxa-research-map",
"scriptUrl": "./doxa-research-map/doxa-research-map.js",
"output": "doxa-maps/doxa-research-map/doxa-research-map.js",
"integrity": "sha384-dMUEdQvFvBb+sHwd2W9nMNUDINTYqnXj1C/dmMz/MYE40J4jvb9YGuEZgqexJozd",
"integrity": "sha384-47YL9pp+xscOoe3DTvaguzmwEiI1Gpj08xae7w68vUqwBeUXpgrmzGG8+4u+YyJK",
"elements": [
"doxa-research-map"
],
@ -170,7 +170,7 @@
"scriptUrl": "./doxa-research-map/doxa-research-map.js",
"embed": {
"iframe": "<iframe src=\"./doxa-research-map/research-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
"script": "<script src=\"./doxa-research-map/doxa-research-map.js\" integrity=\"sha384-dMUEdQvFvBb+sHwd2W9nMNUDINTYqnXj1C/dmMz/MYE40J4jvb9YGuEZgqexJozd\" crossorigin=\"anonymous\"></script>\n<doxa-research-map profile-config='{\"profile\":\"research-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\"}'></doxa-research-map>"
"script": "<script src=\"./doxa-research-map/doxa-research-map.js\" integrity=\"sha384-47YL9pp+xscOoe3DTvaguzmwEiI1Gpj08xae7w68vUqwBeUXpgrmzGG8+4u+YyJK\" crossorigin=\"anonymous\"></script>\n<doxa-research-map profile-config='{\"profile\":\"research-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\"}'></doxa-research-map>"
}
}
]
@ -179,7 +179,7 @@
"bundle": "doxa-simple-map",
"scriptUrl": "./doxa-simple-map/doxa-simple-map.js",
"output": "doxa-maps/doxa-simple-map/doxa-simple-map.js",
"integrity": "sha384-+8dz59bHJ1Bmu3eDCPVr22QrFPyRqBY+TdryhrL2JPvYSD0NNIskDN0WwP7NFmEn",
"integrity": "sha384-t7ODT95QaJCV1OA8ySI4oAVXgup/w45trORO7iHnIb3TNQbI2wfzQlITdnVLyyWX",
"elements": [
"doxa-map",
"doxa-simple-map"
@ -194,7 +194,7 @@
"scriptUrl": "./doxa-simple-map/doxa-simple-map.js",
"embed": {
"iframe": "<iframe src=\"./doxa-simple-map/doxa-simple-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
"script": "<script src=\"./doxa-simple-map/doxa-simple-map.js\" integrity=\"sha384-+8dz59bHJ1Bmu3eDCPVr22QrFPyRqBY+TdryhrL2JPvYSD0NNIskDN0WwP7NFmEn\" crossorigin=\"anonymous\"></script>\n<doxa-map profile-config='{\"profile\":\"doxa-simple-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\"}'></doxa-map>"
"script": "<script src=\"./doxa-simple-map/doxa-simple-map.js\" integrity=\"sha384-t7ODT95QaJCV1OA8ySI4oAVXgup/w45trORO7iHnIb3TNQbI2wfzQlITdnVLyyWX\" crossorigin=\"anonymous\"></script>\n<doxa-map profile-config='{\"profile\":\"doxa-simple-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\"}'></doxa-map>"
},
"instances": [
{

File diff suppressed because one or more lines are too long