Skip to content

Commit 2b2d180

Browse files
committed
minor #2771 [Map] Remove invalid marker icon example (dannyvw)
This PR was merged into the 2.x branch. Discussion ---------- [Map] Remove invalid marker icon example | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Docs? | no <!-- required for new features --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - For new features, provide some code snippets to help understand usage. - Features and deprecations must be submitted against branch main. - Update/add documentation as required (we can help!) - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> This icon example is invalid and is better described under "Add marker icons". Commits ------- d5c99f9 [Map] Remove invalid marker icon example
2 parents 6552eb0 + d5c99f9 commit 2b2d180

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Map/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,6 @@ You can add markers to a map using the ``addMarker()`` method::
109109
headerContent: '<b>Lyon</b>',
110110
content: 'The French town in the historic Rhône-Alpes region, located at the junction of the Rhône and Saône rivers.'
111111
),
112-
icon: new Icon(
113-
content: '<svg>....</svg>'
114-
icontType: 'html'
115-
)
116112
))
117113

118114
// You can also pass arbitrary data via the `extra` option in both the marker

0 commit comments

Comments
 (0)