neiam
/apollos_crib
It's Apollo's Crib
public · Issues · Pulls 1 · Labels · Forks · Compare · Actions failure · Badges · Packages
⭐
Log in to mark this repository.
Thicken the Plani's radius ring
51365c2 · Gabriel Morell · 2026-09-03 19:24
Message
{commit_body(@commit)}
Files changed
modified
apps/room_sanctum/lib/room_sanctum_web/components/query_geospatial_map.ex
+2
−2
@@ -226,8 +226,8 @@ defmodule RoomSanctumWeb.Components.QueryGeospatialMap do
| 226 | 226 | id={"#{@id}-line-#{line.id}"} |
| 227 | 227 | points={Jason.encode!(line.points)} |
| 228 | 228 | color={Map.get(line, :color) || "#94a3b8"} |
| 229 | − weight="2" | |
| 230 | − opacity="0.3" | |
| 229 | + weight={Map.get(line, :weight) || 2} | |
| 230 | + opacity={Map.get(line, :opacity) || 0.3} | |
| 231 | 231 | ></leaflet-line> |
| 232 | 232 | |
| 233 | 233 | <%= for p <- @all_points do %> |
modified
apps/room_sanctum/lib/room_sanctum_web/live/cfg_plani_live/show.ex
+4
−1
@@ -105,7 +105,10 @@ defmodule RoomSanctumWeb.PlaniLive.Show do
| 105 | 105 | # annotation on the map, not something read off a feed, and it followed the |
| 106 | 106 | # theme everywhere else on the page but here. Resolved in the browser, so |
| 107 | 107 | # it also survives a theme switch without a reload. |
| 108 | − [%{id: "radius", points: points, color: "--a"}] | |
| 108 | + # Heavier than a route line, because it is not one -- the ring is the | |
| 109 | + # page's own annotation and reads as an edge rather than as something the | |
| 110 | + # map found. | |
| 111 | + [%{id: "radius", points: points, color: "--a", weight: 3}] | |
| 109 | 112 | end |
| 110 | 113 | |
| 111 | 114 | def radius_ring(_where, _radius), do: [] |
Parents: 8809785