Skip to content

Commit 08be7d5

Browse files
committed
minor #2398 [Map] Fix typos 'an' should be 'a' in READMEs (tacman)
This PR was merged into the 2.x branch. Discussion ---------- [Map] Fix typos 'an' should be 'a' in READMEs | Q | A | ------------- | --- | Bug fix? | yes | License | MIT simple typos fixes. Commits ------- fb8b451 fix typos 'an' should be 'a'"
2 parents 23b3a25 + fb8b451 commit 08be7d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Map/src/Bridge/Google/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,15 @@ export default class extends Controller
119119

120120
// 1. To use a custom image for the marker
121121
const beachFlagImg = document.createElement("img");
122-
// Note: instead of using an hardcoded URL, you can use the `extra` parameter from `new Marker()` (PHP) and access it here with `definition.extra`.
122+
// Note: instead of using a hardcoded URL, you can use the `extra` parameter from `new Marker()` (PHP) and access it here with `definition.extra`.
123123
beachFlagImg.src = "https://developers.google.com/maps/documentation/javascript/examples/full/images/beachflag.png";
124124
definition.rawOptions = {
125125
content: beachFlagImg
126126
}
127127

128128
// 2. To use a custom glyph for the marker
129129
const pinElement = new google.maps.marker.PinElement({
130-
// Note: instead of using an hardcoded URL, you can use the `extra` parameter from `new Marker()` (PHP) and access it here with `definition.extra`.
130+
// Note: instead of using a hardcoded URL, you can use the `extra` parameter from `new Marker()` (PHP) and access it here with `definition.extra`.
131131
glyph: new URL('https://maps.gstatic.com/mapfiles/place_api/icons/v2/museum_pinlet.svg'),
132132
glyphColor: "white",
133133
});

src/Map/src/Bridge/Leaflet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default class extends Controller
7373

7474
// Use a custom icon for the marker
7575
const redIcon = L.icon({
76-
// Note: instead of using an hardcoded URL, you can use the `extra` parameter from `new Marker()` (PHP) and access it here with `definition.extra`.
76+
// Note: instead of using a hardcoded URL, you can use the `extra` parameter from `new Marker()` (PHP) and access it here with `definition.extra`.
7777
iconUrl: 'https://leafletjs.com/examples/custom-icons/leaf-red.png',
7878
shadowUrl: 'https://leafletjs.com/examples/custom-icons/leaf-shadow.png',
7979
iconSize: [38, 95], // size of the icon

0 commit comments

Comments
 (0)