Skip to content

Commit

Permalink
minor symfony#2360 [Map] Add position and missing closing parenthesis…
Browse files Browse the repository at this point in the history
… (tacman)

This PR was merged into the 2.x branch.

Discussion
----------

[Map] Add position and missing closing parenthesis

so that it works when blindly cutting and pasting.

Commits
-------

a432df8 add position and missing closing parenthesis
  • Loading branch information
javiereguiluz committed Nov 14, 2024
2 parents a5318fa + a432df8 commit 0c71f97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Map/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ You can add markers to a map using the ``addMarker()`` method::
// You can also pass arbitrary data via the `extra` option in both the marker
// and the infoWindow; you can later use this data in your custom Stimulus controllers
->addMarker(new Marker(
// ...
position: new Point(45.7740, 4.8351),
extra: [
'icon_mask_url' => 'https://maps.gstatic.com/mapfiles/place_api/icons/v2/tree_pinlet.svg',
],
Expand All @@ -133,7 +133,7 @@ You can add markers to a map using the ``addMarker()`` method::
'includes_link' => true,
],
),
)
))
;

Add Polygons
Expand Down

0 comments on commit 0c71f97

Please sign in to comment.