From fb8b451f14bd21e7fcae28bcb8d3ac1d00d10174 Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Wed, 20 Nov 2024 14:36:26 -0500 Subject: [PATCH] fix typos 'an' should be 'a'" --- src/Map/src/Bridge/Google/README.md | 4 ++-- src/Map/src/Bridge/Leaflet/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Map/src/Bridge/Google/README.md b/src/Map/src/Bridge/Google/README.md index 707907cf568..94a6ae8fd1b 100644 --- a/src/Map/src/Bridge/Google/README.md +++ b/src/Map/src/Bridge/Google/README.md @@ -119,7 +119,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 @@ -127,7 +127,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", }); diff --git a/src/Map/src/Bridge/Leaflet/README.md b/src/Map/src/Bridge/Leaflet/README.md index a267776de69..b0513b9442f 100644 --- a/src/Map/src/Bridge/Leaflet/README.md +++ b/src/Map/src/Bridge/Leaflet/README.md @@ -73,7 +73,7 @@ export default class extends Controller // Use a custom icon for the marker const redIcon = L.icon({ - // 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`. iconUrl: 'https://leafletjs.com/examples/custom-icons/leaf-red.png', shadowUrl: 'https://leafletjs.com/examples/custom-icons/leaf-shadow.png', iconSize: [38, 95], // size of the icon