From 7edd5ed1e6c3c0a68b694635fec49e829063c11b Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 20 Feb 2026 20:53:04 +0000 Subject: [PATCH] style: replace simple ship icon with container vessel SVG (#11) --- 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

", }, })