From 0cf6a5bf828f5afc7c5af767fccf97e8a5371ea0 Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Sun, 10 Nov 2024 06:15:05 -0500 Subject: [PATCH] fix typo ("a", not "an") --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d46bd70..b8cfd75 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ export default class extends Controller // 1. To use a custom image for the marker const beachFlagImg = document.createElement("img"); - // Note: instead of using an hardcoded URL, you can use the `extra` parameter from `new Marker()` (PHP) and access it here with `definition.extra`. + // Note: instead of using a hardcoded URL, you can use the `extra` parameter from `new Marker()` (PHP) and access it here with `definition.extra`. beachFlagImg.src = "https://developers.google.com/maps/documentation/javascript/examples/full/images/beachflag.png"; definition.rawOptions = { content: beachFlagImg @@ -124,7 +124,7 @@ export default class extends Controller // 2. To use a custom glyph for the marker const pinElement = new google.maps.marker.PinElement({ - // Note: instead of using an hardcoded URL, you can use the `extra` parameter from `new Marker()` (PHP) and access it here with `definition.extra`. + // Note: instead of using a hardcoded URL, you can use the `extra` parameter from `new Marker()` (PHP) and access it here with `definition.extra`. glyph: new URL('https://maps.gstatic.com/mapfiles/place_api/icons/v2/museum_pinlet.svg'), glyphColor: "white", });