diff --git a/samples/routes-markers/index.ts b/samples/routes-markers/index.ts index 868ed1479..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 }), }; } @@ -111,6 +111,7 @@ async function getDirections() { glyphColor: 'white', background: 'red', borderColor: 'red', + scale: 1.5, }), }; }