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

", }, })