From ae1b310a7a0fc194ba7d97beaef3b4ad0a743409 Mon Sep 17 00:00:00 2001 From: Ryan Hamamura <58859899+ryanhamamura@users.noreply.github.com> Date: Fri, 20 Feb 2026 10:51:57 -1000 Subject: [PATCH] style: replace simple ship icon with container vessel SVG Swap the basic ship path for a detailed container vessel with hull, stacked cargo containers, bridge, and funnel in MSC-inspired colors. --- internal/examples/maplibre/main.go | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/internal/examples/maplibre/main.go b/internal/examples/maplibre/main.go index f6610e7..9b08c11 100644 --- a/internal/examples/maplibre/main.go +++ b/internal/examples/maplibre/main.go @@ -75,16 +75,34 @@ func main() { }, }) - // Custom SVG ship marker (static) + // Custom SVG container ship marker (static) m.AddMarker("ship", maplibre.Marker{ LngLat: maplibre.LngLat{Lng: -122.38, Lat: 37.80}, - Element: `` + - `` + + Element: `` + + // hull + `` + + // deck + `` + + // containers row 1 + `` + + `` + + `` + + `` + + // containers row 2 + `` + + `` + + `` + + // bridge + `` + + `` + + // funnel + `` + + `` + ``, Anchor: "center", Rotation: 45, Popup: &maplibre.Popup{ - Content: "Ferry

Heading NE

", + Content: "MSC Adriatica

Container vessel — heading NE

", }, })