From c2794fa0f9321cf001ac8f088f6634f61c69c9be Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 20 Feb 2026 20:56:08 +0000 Subject: [PATCH] style: simplify container ship SVG marker (#12) --- internal/examples/maplibre/main.go | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/internal/examples/maplibre/main.go b/internal/examples/maplibre/main.go index 9b08c11..4922a6d 100644 --- a/internal/examples/maplibre/main.go +++ b/internal/examples/maplibre/main.go @@ -78,26 +78,14 @@ func main() { // Custom SVG container ship marker (static) m.AddMarker("ship", maplibre.Marker{ LngLat: maplibre.LngLat{Lng: -122.38, Lat: 37.80}, - Element: `` + - // hull - `` + - // deck - `` + - // containers row 1 - `` + - `` + - `` + - `` + - // containers row 2 - `` + - `` + - `` + - // bridge - `` + - `` + - // funnel - `` + - `` + + Element: `` + + `` + + `` + + `` + + `` + + `` + + `` + + `` + ``, Anchor: "center", Rotation: 45,