From 1a6a2f5ed80fdd89b6510fae068748f1d183d2c6 Mon Sep 17 00:00:00 2001 From: William French Date: Tue, 6 Oct 2026 07:28:50 -0700 Subject: [PATCH 1/2] fix: Makes destination marker the same size as the others Change-Id: I806e84b61464fb1a7e68e26d881e20db96028d81 --- samples/routes-markers/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/routes-markers/index.ts b/samples/routes-markers/index.ts index 868ed1479..9a8abc710 100644 --- a/samples/routes-markers/index.ts +++ b/samples/routes-markers/index.ts @@ -111,6 +111,7 @@ async function getDirections() { glyphColor: 'white', background: 'red', borderColor: 'red', + scale: 1.5, }), }; } From 8fd61b695a45469c788b9357813bdacc506832d2 Mon Sep 17 00:00:00 2001 From: William French Date: Tue, 6 Oct 2026 08:34:19 -0700 Subject: [PATCH 2/2] Add code comments to intermediate marker block Change-Id: I7920c51b047784ae2b75f486a545383e0bc8f6d3 --- samples/routes-markers/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/routes-markers/index.ts b/samples/routes-markers/index.ts index 9a8abc710..fa24ea481 100644 --- a/samples/routes-markers/index.ts +++ b/samples/routes-markers/index.ts @@ -85,15 +85,15 @@ async function getDirections() { if (!(index === 0 || index === totalMarkers - 1)) { return { ...defaultOptions, - title: `Waypoint ${(index + 1).toString()}`, + title: `Waypoint ${(index + 1).toString()}`, // Provide label for screenreaders map: innerMap, - gmpClickable: true, + gmpClickable: true, // Make marker focusable and allow keyboard navigation content: new PinElement({ glyphText: (index + 1).toString(), glyphColor: 'white', background: 'blue', borderColor: 'blue', - scale: 1.5, + scale: 1.5, // Increase size for better visibilty }), }; }