Skip to content

Commit

Permalink
minor symfony#2398 [Map] Fix typos 'an' should be 'a' in READMEs (tac…
Browse files Browse the repository at this point in the history
…man)

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'"
  • Loading branch information
smnandre committed Nov 22, 2024
2 parents 23b3a25 + fb8b451 commit 08be7d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Map/src/Bridge/Google/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,15 @@ 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
}

// 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",
});
Expand Down
2 changes: 1 addition & 1 deletion src/Map/src/Bridge/Leaflet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 08be7d5

Please sign in to comment.